소스 검색

chore: Fix comment for `$proxy_connection` variable

Richard Hansen 3 년 전
부모
커밋
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;