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:
Justin P authored and GitHub committed 2023-01-26 11:19:44 -06:00
1 parent 699c8eb449
commit 23c0c89c25
1 file changed
+4 -1
@@ -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.
}
}
}
```