Added more detailed NGINX Config for SSL

This commit is contained in:
morty800
2022-12-30 12:19:18 -05:00
parent 6d0fb3daf2
commit aebf062296
@@ -63,8 +63,17 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx.
server <IP_NODE_3>: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 <rancher UI URL>;
proxy_ssl_server_name on;
proxy_ssl_name <rancher UI URL>
}
}
}