endpoint /api/ws/telemtry with auth, broadcast, db

This commit is contained in:
aa.afanasyev 2025-08-03 04:11:56 +09:00
parent 576db57d99
commit f7b592f4b9
7 changed files with 116 additions and 24 deletions

View file

@ -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;
}
}
}