diff --git a/docs/how-to-guides/new-user-guides/infrastructure-setup/nginx-load-balancer.md b/docs/how-to-guides/new-user-guides/infrastructure-setup/nginx-load-balancer.md index 368c456f9fc..f4f16736e87 100644 --- a/docs/how-to-guides/new-user-guides/infrastructure-setup/nginx-load-balancer.md +++ b/docs/how-to-guides/new-user-guides/infrastructure-setup/nginx-load-balancer.md @@ -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 :443 max_fails=3 fail_timeout=5s; server :443 max_fails=3 fail_timeout=5s; server :443 max_fails=3 fail_timeout=5s; } - } - - http { server { listen 443 ssl; proxy_pass rancher_servers_https;