Add manager to Legacy nginx Conf

Add a line to the legacy.nginx.conf file to enable access to the Dash Manager from the legacy domain, in case it is the only domain enabled.
This commit is contained in:
Blueyzachary
2021-01-07 05:58:31 -07:00
committed by GitHub
parent 260576e667
commit dc6f3de57b

View File

@@ -39,6 +39,15 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /manager {
proxy_pass http://dash:3000/manager;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
server {