1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 01:38:15 +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;
}
# If we receive Upgrade, set Connection to "upgrade"; otherwise, delete any
# Connection header that may have been passed to this server
# If we receive Upgrade, set Connection to "upgrade"; otherwise, preserve
# NGINX's default behavior ("Connection: close").
map $http_upgrade $proxy_connection {
default upgrade;
'' close;