mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
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.
This commit is contained in:
@@ -62,6 +62,9 @@ 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_3>: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.
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user