1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 09:48:14 +00:00

chore: Fix comment for $proxy_connection variable

This commit is contained in:
Richard Hansen 2022-03-28 02:49:58 -04:00
parent 744bd82c54
commit 4651bf411d

View File

@ -167,8 +167,8 @@ map $http_x_forwarded_port $proxy_x_forwarded_port {
'' $server_port; '' $server_port;
} }
# If we receive Upgrade, set Connection to "upgrade"; otherwise, delete any # If we receive Upgrade, set Connection to "upgrade"; otherwise, preserve
# Connection header that may have been passed to this server # NGINX's default behavior ("Connection: close").
map $http_upgrade $proxy_connection { map $http_upgrade $proxy_connection {
default upgrade; default upgrade;
'' close; '' close;