docker-notion-proxy icon indicating copy to clipboard operation
docker-notion-proxy copied to clipboard

Proxy buffer size needs to be increased

Open lewtds opened this issue 4 years ago • 1 comments

I got this in my Nginx log and a 502 response:

2020/01/23 10:02:50 [error] 8496#8496: *274 upstream sent too big header while reading response header from upstream, client: 127.0.0.1, server: <REDACTED>, request: "GET /api/322/config/wifi/ HTTP/1.1", upstream: "https://104.26.5.98:443/api/322/config/wifi/", host: "127.0.0.1"

I increased the buffer size according to this guide and it works.

https://ma.ttias.be/nginx-proxy-upstream-sent-big-header-reading-response-header-upstream/

lewtds avatar Jan 23 '20 08:01 lewtds

Hi, Thanks for reporting, what is exactly the value that you have set up? If you don't mind adding it to the nginx.tmpl and submitting a PR, that would be awesome! Loric

lobre avatar Jan 23 '20 09:01 lobre