Nginx Proxy Issues

Hey,

I have a Blazor Server Web App hosted in a docker container using an nginx reverse proxy and I’ve been trying to get auth0 working with it. Previously it worked before moving to nginx proxy.

After adding HttpContext.Request.IsHttps = true; to the login request (as per other threads I’ve got quite far) but I’m now hitting this issue - which eventually times out.

*4 upstream sent too big header while reading response header from upstream

I’ve tried changing the buffer size and other bits but can’t seem to get anywhere - not sure if I’m missing something

Any ideas?

1 Like

i had the same issue but could solve it by adding this to my nginx conf file directly under the server_name

proxy_buffer_size 512k;
proxy_buffers 8 256k;
proxy_busy_buffers_size 512k;
proxy_temp_file_write_size 512k;

maybe it helps