mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-30 00:17:40 +01:00
Update ssl.conf
This commit is contained in:
@@ -12,6 +12,12 @@ server {
|
||||
# Proxy pass
|
||||
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
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
||||
Reference in New Issue
Block a user