Update ingress.conf

This commit is contained in:
Alexandre
2022-06-01 21:47:10 +02:00
committed by GitHub
parent c49264c131
commit 0eeb196f26

View File

@@ -7,7 +7,7 @@ server {
# Code origin : https://github.com/transmission/transmission/issues/899
location / {
return 301 /web/; # The slash at the end is important
return 301 ./web/; # The slash at the end is important
}
location / {
@@ -20,6 +20,12 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $remote_addr;
# Allow frames
proxy_hide_header "Content-Security-Policy";
add_header X-Frame-Options SAMEORIGIN;
add_header Access-Control-Allow-Origin *;
proxy_set_header Accept-Encoding "";
}
}