update for signalR
ci-cd-vm / ci-cd (push) Successful in 44s

This commit is contained in:
Chris Chen
2026-06-23 17:12:17 -07:00
parent 249ae1164d
commit a298d0ee1c
4 changed files with 104 additions and 0 deletions
+10
View File
@@ -1,3 +1,13 @@
# SignalR WebSocket upgrade. The /hubs/ block below sets the "Connection" header
# to this variable: "upgrade" when the client sends an Upgrade header (WebSocket),
# "close" otherwise (long-polling). nginx has no built-in $connection_upgrade, so
# it MUST be defined here in the http context or nginx fails config test on start
# ([emerg] unknown "connection_upgrade" variable) and keeps the old config.
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
listen 80;
server_name _;