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:
@@ -23,11 +23,16 @@ server {
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Host $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme; # Avoids mixed content
|
||||
|
||||
# Allow frames
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
proxy_set_header Accept-Encoding "";
|
||||
|
||||
# avoid cache
|
||||
expires -1; # kill cache
|
||||
proxy_no_cache 1; # don't cache it
|
||||
proxy_cache_bypass 1; # even if cached, don't try to use it
|
||||
|
||||
# Allow frames
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
proxy_set_header Accept-Encoding "";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user