Ver código fonte

Merge pull request #11 from thomasleveil/patch-1

add HTTP 1.1 support
Jason Wilder 11 anos atrás
pai
commit
95d4f67a59
1 arquivos alterados com 4 adições e 0 exclusões
  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 }}