dart-lang/pub

Trying to set 'Transfer-Encoding: Chunked' on HTTP 1.0 headers

Closed this issue · 1 comments

Meai1 commented

Pub 1.24.1
nginx 1.13.3

I'm trying to set up my dev environment with nginx but pub crashes/exits.

bug report

proxy.conf:

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;

All the lines in the location {} I tried both on/off and uncommented and commented. Always the same result.
I also just tried to disable the devcompiler, same problem.

Meai1 commented

works with proxy_http_version 1.1;