mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Switch back to socket.
This commit is contained in:
parent
7a90cc8ae3
commit
4cd50ab6bd
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ server {
|
|||
# Serve Django via uWSGI
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
proxy_pass http://127.0.0.1:5656;
|
||||
uwsgi_pass unix:/app/uwsgi.sock;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
|
|
@ -62,7 +62,7 @@ server {
|
|||
|
||||
# WebSockets for real-time communication
|
||||
location /ws/ {
|
||||
proxy_pass http://127.0.0.1:5656;
|
||||
proxy_pass http://127.0.0.1:8001;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue