From 23c0c89c255b80c29ac52a36cbccbd98634313fa Mon Sep 17 00:00:00 2001 From: Justin P Date: Thu, 26 Jan 2023 11:19:44 -0600 Subject: [PATCH] Move the http -> server block The stream block can't handle url proxying like the http block can Moved the server block to its own http section for correct syntax. --- .../infrastructure-setup/nginx-load-balancer.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 af421b66d07..799d0457d6e 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 @@ -62,6 +62,9 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx. 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; @@ -75,7 +78,7 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx. } } - + } ```