mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 14:08:55 +00:00
Merge pull request #411 from btat/pr389
Apply PR #353 and #389 changes to version 2.6 docs
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+14
-4
@@ -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>
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user