Explorar o código

add HTTP 1.1 support

Thomas LÉVEIL %!s(int64=11) %!d(string=hai) anos
pai
achega
175a1ab077
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 }}