Skip to content

Commit 476d8ba

Browse files
authored
Merge pull request #21 from guardian/aa-http-version
set proxy_http_version to 1.1 to support chunked responses
2 parents b93f720 + d77a805 commit 476d8ba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

script/setup-app

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ EOS
6565
file.write <<-EOS
6666
6767
location / {
68+
proxy_http_version 1.1;
6869
proxy_pass http://localhost:#{mapping['port']}#{path};
6970
proxy_set_header X-Real-IP $remote_addr;
7071
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)