ソースを参照

add HTTP 1.1 support

Thomas LÉVEIL 11 年 前
コミット
175a1ab077
1 ファイル変更4 行追加0 行削除
  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 }}