Update nginx-load-balancer.md https upstream on wrong block

This commit is contained in:
jaynakus
2023-06-22 15:54:32 +06:00
committed by GitHub
parent cab1ea018d
commit 4384212692

View File

@@ -56,15 +56,16 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx.
proxy_pass rancher_servers_http;
}
}
http {
upstream rancher_servers_https {
least_conn;
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_3>:443 max_fails=3 fail_timeout=5s;
}
}
http {
server {
listen 443 ssl;
proxy_pass rancher_servers_https;