mirror of
https://github.com/solero/wand.git
synced 2024-11-22 05:27:24 +00:00
Update vanilla.conf.template to implement password reset routes
This commit is contained in:
parent
9d82d471c1
commit
cb7cf5fbe1
@ -6,14 +6,6 @@ server {
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
location /penguin/create {
|
||||
proxy_pass http://dash:3000/create/vanilla/en;
|
||||
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;
|
||||
}
|
||||
|
||||
location ~ ^/(.*)/penguin/create {
|
||||
proxy_pass http://dash:3000/create/vanilla/$1;
|
||||
proxy_redirect off;
|
||||
@ -22,6 +14,16 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
|
||||
location /penguin/create {
|
||||
proxy_pass http://dash:3000/create/vanilla/en;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
location ~ ^/(.*)/penguin/activate/(.*) {
|
||||
proxy_pass http://dash:3000/activate/vanilla/$1/$2;
|
||||
proxy_redirect off;
|
||||
@ -30,6 +32,54 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
|
||||
|
||||
location ~ ^/(.*)/penguin/activate {
|
||||
proxy_pass http://dash:3000/activate/vanilla/$1;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
location /penguin/activate {
|
||||
proxy_pass http://dash:3000/activate/vanilla/en;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
location ~ ^/(.*)/penguin/forgot-password/(.*) {
|
||||
proxy_pass http://dash:3000/password/$1/$2;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
location ~ ^/(.*)/penguin/forgot-password {
|
||||
proxy_pass http://dash:3000/password/$1;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
location /penguin/forgot-password {
|
||||
proxy_pass http://dash:3000/password/en;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
location ~ ^/avatar/(.*)/cp$ {
|
||||
proxy_pass http://dash:3000/avatar/$1$is_args$args;
|
||||
proxy_redirect off;
|
||||
|
Loading…
Reference in New Issue
Block a user