瀏覽代碼

Merge pull request #11 from thomasleveil/patch-1

add HTTP 1.1 support
Jason Wilder 11 年之前
父節點
當前提交
95d4f67a59
共有 1 個文件被更改,包括 4 次插入0 次删除
  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 }}