mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 12:38:05 +00:00
remove proxy_pass directive from server block
The directive proxy_pass is not allowed in a server block with http. Removing the proxy_pass directive at this location makes the sample useable.
This commit is contained in:
@@ -72,7 +72,6 @@ After installing NGINX, you need to update the NGINX configuration file, `nginx.
|
|||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
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;
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
Reference in New Issue
Block a user