mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-29 17:30:33 +02:00
Update ssl.conf
This commit is contained in:
@@ -12,6 +12,12 @@ server {
|
|||||||
# Proxy pass
|
# Proxy pass
|
||||||
proxy_pass http://127.0.0.1:8081;
|
proxy_pass http://127.0.0.1:8081;
|
||||||
|
|
||||||
|
# Allow frames
|
||||||
|
add_header X-Frame-Options SAMEORIGIN;
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
proxy_set_header Accept-Encoding "";
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
# Next three lines allow websockets
|
# Next three lines allow websockets
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|||||||
Reference in New Issue
Block a user