mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 20:48:11 +00:00
Update nginx-load-balancer.md https upstream on wrong block
This commit is contained in:
+4
-3
@@ -56,15 +56,16 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx.
|
|||||||
proxy_pass rancher_servers_http;
|
proxy_pass rancher_servers_http;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
|
|
||||||
upstream rancher_servers_https {
|
upstream rancher_servers_https {
|
||||||
least_conn;
|
least_conn;
|
||||||
server <IP_NODE_1>:443 max_fails=3 fail_timeout=5s;
|
server <IP_NODE_1>:443 max_fails=3 fail_timeout=5s;
|
||||||
server <IP_NODE_2>:443 max_fails=3 fail_timeout=5s;
|
server <IP_NODE_2>:443 max_fails=3 fail_timeout=5s;
|
||||||
server <IP_NODE_3>:443 max_fails=3 fail_timeout=5s;
|
server <IP_NODE_3>:443 max_fails=3 fail_timeout=5s;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
http {
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
proxy_pass rancher_servers_https;
|
proxy_pass rancher_servers_https;
|
||||||
|
|||||||
Reference in New Issue
Block a user