Nginx 502 Error: Failed to load resource: the server responded with a status of 502 (Bad Gateway)

problem found



was meant for cookie with too many headers, required header data was too big

solve the problem

nginx adds configuration

    # 502 bad gateway 错误解决配置 start
    proxy_buffer_size 64k;
    proxy_buffers 32 32k;
    proxy_busy_buffers_size 128k;
    # 502 bad gateway 错误解决配置 end
    

note the location of the configuration

individual open source project (general back office management system) — > Can look at https://gitee.com/wslxm/spring-boot-plus2, like
in this paper, to this end, if you feel useful, move the small hand thumb up or focus on bai, do not regularly will continue to update more… Thank you for watching!

Read More: