Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 7 of 7
some url like: http://localhost.com/%u
It will response http 400 status , and when generate this response ,nothing found in error log or access log.
how to config this issue error_page?
my config
location / {
error_page 400 =/400;
}
location /400 {
root /path/some/path;
}
it don't work.
by
defage
-
Nginx Mailing List - Englishyou mean at that moment all of upstream server has to tried,and it reponse 504? but at that moment only one app server's log throw error info.
A part of access_log like:
10.001 10.001 /cas/login 10.10.2.100:8080 504
10.001 10.001 /cas/login 10.10.2.100:8080 504
If pass to all servers, the log is like below:?
10.001 10.001 /cas/login 10.10.2.100:8080, 10.10.2.101:8080, 10.10.2.102:8080, 10.1
by
defage
-
Nginx Mailing List - Englishnginx conf is:
http {
large_client_header_buffers 8 8k;
proxy_buffers 8 8K;
proxy_buffer_size 8K;
open_file_cache max=1000 inactive=20s;
open_file_cache_valid 30s;
open_file_cache_min_uses 2;
open_file_cache_errors on;
upstream backend {
server 10.10.2.100:8088 max_fails=200 fail_timeout=1
by
defage
-
Nginx Mailing List - EnglishI use nginx as a load balancing for backend web server.
if this upstream has n servers, and when the number of backend web server can't connect(502 or down) be equal n-1, nginx will response 502 or 503 status to client.
I did some test, only in the use of directer like:
server 10.10.1.2:7003 max_fails=NUM1 fail_timeout=NUM2;
within NUM2 second time, send request times > NUM1, the
by
defage
-
Nginx Mailing List - English