endpoint /api/ws/telemtry with auth, broadcast, db
This commit is contained in:
parent
576db57d99
commit
f7b592f4b9
7 changed files with 116 additions and 24 deletions
|
|
@ -4,7 +4,10 @@ http {
|
|||
upstream django {
|
||||
server web:8000;
|
||||
}
|
||||
|
||||
map $http_upgrade $connection_upgrade {
|
||||
default upgrade;
|
||||
'' close;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
|
@ -36,7 +39,7 @@ http {
|
|||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue