temporary fix for websockets
This commit is contained in:
parent
e45a1f271e
commit
e43d4837c3
7 changed files with 63 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue