temporary fix for websockets

This commit is contained in:
j3d1 2023-11-22 23:55:00 +01:00
parent e45a1f271e
commit e43d4837c3
7 changed files with 63 additions and 17 deletions

View file

@ -6,6 +6,7 @@ After=network.target
Type=notify
WorkingDirectory=/var/www/c3lf-sys3
ExecStart=/var/www/c3lf-sys3/venv/bin/python3 /var/www/c3lf-sys3/repo/core/server.py
Environment=DJANGO_SETTINGS_MODULE=core.settings
Restart=always
RestartSec=5
User=www-data

View file

@ -26,7 +26,7 @@ server {
location /ws {
proxy_http_version 1.1;
auth_basic off;
#auth_basic off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://c3lf-sys3;