Răsfoiți Sursa

Merge pull request #11 from thomasleveil/patch-1

add HTTP 1.1 support
Jason Wilder 11 ani în urmă
părinte
comite
95d4f67a59
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      nginx.tmpl

+ 4 - 0
nginx.tmpl

@@ -46,6 +46,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 }}