mirror of
https://github.com/solero/wand.git
synced 2024-11-22 05:27:24 +00:00
Update vanilla.conf.template to support auto-activation
This commit is contained in:
parent
71a8231a89
commit
420e25082f
@ -22,8 +22,8 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/(.*)/penguin/activate {
|
location ~ ^/(.*)/penguin/activate/(.*) {
|
||||||
proxy_pass http://dash:3000/activate/vanilla/$1;
|
proxy_pass http://localhost:3000/activate/vanilla/$1/$2;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user