Explorar el Código

chore: Fix comment for `$proxy_connection` variable

Richard Hansen hace 3 años
padre
commit
4651bf411d
Se han modificado 1 ficheros con 2 adiciones y 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;