Explorar o código

chore: Fix comment for `$proxy_connection` variable

Richard Hansen %!s(int64=3) %!d(string=hai) anos
pai
achega
4651bf411d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      nginx.tmpl

+ 2 - 2
nginx.tmpl

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