1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-22 11:56:31 +00:00

Merge pull request #11 from thomasleveil/patch-1

add HTTP 1.1 support
This commit is contained in:
Jason Wilder 2014-06-03 16:04:44 -06:00
commit 95d4f67a59

View File

@ -46,6 +46,10 @@ server {
location / { location / {
proxy_pass http://{{ $host }}; proxy_pass http://{{ $host }};
include /etc/nginx/proxy_params; include /etc/nginx/proxy_params;
# HTTP 1.1 support
proxy_http_version 1.1;
proxy_set_header Connection "";
} }
} }
{{ end }} {{ end }}