mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update ingress.conf
This commit is contained in:
@@ -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 "";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user