fix a few bugs with the liveview

This commit is contained in:
Ross
2026-06-16 22:17:17 +01:00
parent dbb762bb09
commit 86a1a935e1
4 changed files with 34 additions and 4 deletions
+10
View File
@@ -23,6 +23,16 @@ server {
alias /usr/src/app/media;
}
location /ws/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://app_server;
}
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;