mirror of
https://github.com/solero/wand.git
synced 2024-11-24 22:47:18 +00:00
Update vanilla nginx conf template
Update vanilla nginx conf template to include the dash manager at /manager. This way, the manager will be enabled by default with wand, and clear up confusion.
This commit is contained in:
parent
c8439f3861
commit
4ff6ea56fe
@ -103,6 +103,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