Selaa lähdekoodia

Merge pull request #11 from thomasleveil/patch-1

add HTTP 1.1 support
Jason Wilder 11 vuotta sitten
vanhempi
commit
95d4f67a59
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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 }}