error_page & proxy_pass

Andrew Sitnikov sitnikov at infonet.ee
Fri Jul 4 00:34:52 MSD 2008


Hello Igor,

IS> Это фича. Нужно добавить URI-part в proxy_pass:
результат еще более странный

2008/07/03 23:31:54 [debug] 2015#0: *7879 generic phase: 3
2008/07/03 23:31:54 [debug] 2015#0: *7879 http finalize request: 502, "/foo?"
2008/07/03 23:31:54 [debug] 2015#0: *7879 http special response: 502, "/foo"
2008/07/03 23:31:54 [debug] 2015#0: *7879 http set discard body
2008/07/03 23:31:54 [debug] 2015#0: *7879 internal redirect: "/errors/502.html?"
2008/07/03 23:31:54 [debug] 2015#0: *7879 generic phase: 1
...
2008/07/03 23:31:54 [debug] 2015#0: *7879 find location for "/errors/502.html"
2008/07/03 23:31:54 [debug] 2015#0: *7879 find location: "/"
2008/07/03 23:31:54 [debug] 2015#0: *7879 find location: "/errors"
...
2008/07/03 23:31:54 [debug] 2015#0: *7879 using configuration "/errors"
2008/07/03 23:31:54 [debug] 2015#0: *7879 http cl:-1 max:10485760
2008/07/03 23:31:54 [debug] 2015#0: *7879 generic phase: 3
2008/07/03 23:31:54 [debug] 2015#0: *7879 post rewrite phase: 4
2008/07/03 23:31:54 [debug] 2015#0: *7879 generic phase: 5
2008/07/03 23:31:54 [debug] 2015#0: *7879 generic phase: 6
2008/07/03 23:31:54 [debug] 2015#0: *7879 access phase: 7
2008/07/03 23:31:54 [debug] 2015#0: *7879 access phase: 8
2008/07/03 23:31:54 [debug] 2015#0: *7879 post access phase: 9
2008/07/03 23:31:54 [debug] 2015#0: *7879 malloc: 000000000EB38610:4096
2008/07/03 23:31:54 [debug] 2015#0: *7879 http init upstream, client timer: 0
2008/07/03 23:31:54 [debug] 2015#0: *7879 epoll add event: fd:708 op:3 ev:80000005
2008/07/03 23:31:54 [debug] 2015#0: *7879 http script copy: ""
2008/07/03 23:31:54 [debug] 2015#0: *7879 http script copy: ""
...
2008/07/03 23:31:54 [debug] 2015#0: *7879 http proxy header:
"GET //502.html HTTP/1.0


-- 
Best regards,
 Andrew                            mailto:sitnikov at infonet.ee






More information about the nginx-ru mailing list