Re: проблемма с proxy intercept errors

Igor Sysoev igor на sysoev.ru
Сб Авг 7 14:35:51 MSD 2010


On Sat, Aug 07, 2010 at 05:41:35AM -0400, aarrtt wrote:

> Какойто баг с proxy_intercept_errors.  
> Директива установлена в on.
> При этом все ошибки с кодом более 400
> обрабатывает nginx, а с кодом  400 обработал
> бекенд(Tomcat):

А "error_page  400  ..." есть ?

> [code]
> HTTP/1.1 400 Bad Request
> Server: nginx
> Date: Sat, 07 Aug 2010 09:11:17 GMT
> Content-Type: text/html;charset=utf-8
> Connection: close
> Content-Length: 1106
> 
> Apache Tomcat/6.0.26 - Error report<!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> {color : black;}A.name {color : black;}HR {color : #525D76;}--> HTTP
> Status 400 - HTTP method POST is not supported by this URLtype Status
> reportmessage HTTP method POST is not supported by this URLdescription
> The request sent by the client was syntactically incorrect (HTTP method
> POST is not supported by this URL).Apache Tomcat/6.0.26
> [/code]


-- 
Igor Sysoev
http://sysoev.ru/en/



Подробная информация о списке рассылки nginx-ru