Jelajahi Sumber

add HTTP 1.1 support

Thomas LÉVEIL 11 tahun lalu
induk
melakukan
175a1ab077
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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 }}