From 175a1ab077f65120704fb0ba638e3babb5200629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=89VEIL?= Date: Tue, 3 Jun 2014 23:29:30 +0200 Subject: [PATCH] add HTTP 1.1 support --- nginx.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx.tmpl b/nginx.tmpl index 84606b5..ad14786 100644 --- a/nginx.tmpl +++ b/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 }}