2
0
Эх сурвалжийг харах

chore: Fix comment for `$proxy_connection` variable

Richard Hansen 3 жил өмнө
parent
commit
4651bf411d
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  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;