fix: allow only GET for /media
All checks were successful
Build (frontend build only) / build (push) Successful in 2m42s

This commit is contained in:
nihonium 2025-12-20 00:37:26 +03:00
parent 1b40ebdbd9
commit ee15139fdb
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -30,6 +30,9 @@ server {
}
location /media/ {
limit_except GET {
deny all;
}
rewrite ^/media/(.*)$ /$1 break;
proxy_pass http://nyanimedb-images:8000/;
proxy_http_version 1.1;