From aebf062296317ed1c55bba214c2ebba8b9b268bb Mon Sep 17 00:00:00 2001 From: morty800 Date: Fri, 30 Dec 2022 12:19:18 -0500 Subject: [PATCH] Added more detailed NGINX Config for SSL --- .../infrastructure-setup/nginx-load-balancer.md | 11 ++++++++++- 1 file changed, 10 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 e23af0532bc..af421b66d07 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 @@ -63,8 +63,17 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx. server :443 max_fails=3 fail_timeout=5s; } server { - listen 443; + listen 443 ssl; proxy_pass rancher_servers_https; + ssl_certificate /path/to/tls.crt; + ssl_certificate_key /path/to/key.key; + location / { + proxy_pass https://rancher_servers_https; + proxy_set_header Host ; + proxy_ssl_server_name on; + proxy_ssl_name + + } } }