Welcome! Log In Create A New Profile

Advanced

проблемма с proxy_intercept_errors

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

[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

<html><head><title>Apache Tomcat/6.0.26 - Error report</title><style><!--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;}--></style> </head><body><h1>HTTP Status 400 - HTTP method POST is not supported by this URL</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>HTTP method POST is not supported by this URL</u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect (HTTP method POST is not supported by this URL).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.26</h3></body></html>
[/code]
Subject Author Posted

проблемма с proxy_intercept_errors

aarrtt August 07, 2010 05:41AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready