Nginx configuration files need to be addressed in the section below:
Upstream cluster {
Server 127.0.0.1:8080 down;
Check interval=3000 fall rise=2=3 timeout=5000 type=HTTP;
Check_http_send "HTTP/1.0 \ r \ n \ r \ n";
Check_http_expect_alive http_2xx http_3xx;
}
Server {
Listen, 80;
Server_name localhost.
# charset koi8 - r;
#access_log logs/host.access.log main;
The location/{
Proxy_pass http://cluster;
}
=========================================
I need in the upstream cluster # # U, before and after the period of need in the location/# # L, before and after this period of upstream and the location may have multiple, just behind with different fields, for help is there any way to reality?