Django Broken pipe in Debug mode

前端 未结 8 1064
灰色年华
灰色年华 2020-11-28 23:45

I have django 1.3 on the remote server behind Nginx.

If I run django with apache + mod_wsgi, I can watch errors in apache log files. It\'s ok but I\'d like to have

相关标签:
8条回答
  • 2020-11-29 00:25

    Nginx directive proxy_intercept_errors off; (disabled by default) is what I needed

    0 讨论(0)
  • 2020-11-29 00:25

    I fixed it. If you use links i.e, anchor tag, inside the page, you have to face the "Borken Pipe" problem. Just use inside the link tag href='#'. Don't leave the href attribute blank. It will avoid that type of error.

    0 讨论(0)
提交回复
热议问题