Nginx uwsgi (104: Connection reset by peer) while reading response header from upstream

前端 未结 8 2260
感动是毒
感动是毒 2020-12-12 23:34

Environment is Nginx + uwsgi.

Getting a 502 bad gateway error from Nginx on certain GET requests. Seems to be related to the length of the URL. In our particular cas

8条回答
  •  轮回少年
    2020-12-13 00:15

    It doesn't come up occasionally.

    I guess the most possible reason of that is the size of your php-fpm.log is oversize. Try to change your log_level to upper level in php-fpm.conf and clear the logs.

    Anyway, it works for me.

提交回复
热议问题