Pārlūkot izejas kodu

add HTTP 1.1 support

Thomas LÉVEIL 11 gadi atpakaļ
vecāks
revīzija
175a1ab077
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      nginx.tmpl

+ 4 - 0
nginx.tmpl

@@ -41,6 +41,10 @@ server {
 	location / {
 	    proxy_pass http://{{ $host }};
 	    include /etc/nginx/proxy_params;
+	    
+	    # HTTP 1.1 support
+	    proxy_http_version 1.1;
+	    proxy_set_header Connection "";
 	}
 }
 {{ end }}