网站制作学习网经验与学习→正文:nginx502 配置 debug
字体:

nginx502 配置 debug

经验与学习 2024/12/12 19:08:07  点击:不统计

www-fo-a-sp.cn

 nginx后端转发配置 php python服务,但是优势出现502 499 等异常,那nginx配置debug 显示错误详情就非常重要。
下面就是配置nginx debug 详情。
在对应 服务server 下面添加:  
 
   error_log /home/wwwlogs/debug.log debug;   
配置后,reload 或者重启nginx ,就可以查看详细错误信息了

原文章%77w%77%2Ef%6F%72%61%73%70%2E%63n

·上一篇:Vs Code/Cursor Python扩展推荐插件 >>    ·下一篇:git clone HTTP/2 stream 1 was not closed cleanly before end of the underlying stream >>
推荐文章
最新文章