fix: allow only GET for /media
All checks were successful
Build (frontend build only) / build (push) Successful in 2m42s
All checks were successful
Build (frontend build only) / build (push) Successful in 2m42s
This commit is contained in:
parent
1b40ebdbd9
commit
ee15139fdb
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue