Merge pull request #411 from btat/pr389

Apply PR #353 and #389 changes to version 2.6 docs
This commit is contained in:
Billy Tat
2023-02-08 18:05:21 -08:00
committed by GitHub
2 changed files with 17 additions and 9 deletions
@@ -63,10 +63,10 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx.
server <IP_NODE_3>:443 max_fails=3 fail_timeout=5s; server <IP_NODE_3>:443 max_fails=3 fail_timeout=5s;
} }
} }
http{ http {
server { server {
listen 443 ssl; listen 443 ssl;
proxy_pass rancher_servers_https; proxy_pass rancher_servers_https;
ssl_certificate /path/to/tls.crt; ssl_certificate /path/to/tls.crt;
ssl_certificate_key /path/to/key.key; ssl_certificate_key /path/to/key.key;
@@ -75,10 +75,8 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx.
proxy_set_header Host <rancher UI URL>; proxy_set_header Host <rancher UI URL>;
proxy_ssl_server_name on; proxy_ssl_server_name on;
proxy_ssl_name <rancher UI URL> proxy_ssl_name <rancher UI URL>
} }
} }
} }
``` ```
@@ -62,11 +62,21 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx.
server <IP_NODE_2>:443 max_fails=3 fail_timeout=5s; server <IP_NODE_2>:443 max_fails=3 fail_timeout=5s;
server <IP_NODE_3>:443 max_fails=3 fail_timeout=5s; server <IP_NODE_3>:443 max_fails=3 fail_timeout=5s;
} }
server { }
listen 443;
proxy_pass rancher_servers_https;
}
http {
server {
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>
}
}
} }
``` ```