mirror of
https://github.com/solero/wand.git
synced 2024-11-22 05:27:24 +00:00
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:
parent
260576e667
commit
dc6f3de57b
@ -39,6 +39,15 @@ server {
|
|||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
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 {
|
server {
|
||||||
|
Loading…
Reference in New Issue
Block a user