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 271cfcbd680..896c3686ad2 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 @@ -60,15 +60,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; diff --git a/versioned_docs/version-2.7/how-to-guides/new-user-guides/infrastructure-setup/nginx-load-balancer.md b/versioned_docs/version-2.7/how-to-guides/new-user-guides/infrastructure-setup/nginx-load-balancer.md index 271cfcbd680..896c3686ad2 100644 --- a/versioned_docs/version-2.7/how-to-guides/new-user-guides/infrastructure-setup/nginx-load-balancer.md +++ b/versioned_docs/version-2.7/how-to-guides/new-user-guides/infrastructure-setup/nginx-load-balancer.md @@ -60,15 +60,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;