Update ssl.conf

This commit is contained in:
Alexandre
2023-10-15 06:37:54 +02:00
committed by GitHub
parent 1ad5844b85
commit 242b553c61

View File

@@ -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;