Update vanilla.conf.template to support auto-activation

This commit is contained in:
Roan 2020-05-16 17:02:49 +01:00 committed by GitHub
parent 71a8231a89
commit 420e25082f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,8 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location ~ ^/(.*)/penguin/activate {
proxy_pass http://dash:3000/activate/vanilla/$1;
location ~ ^/(.*)/penguin/activate/(.*) {
proxy_pass http://localhost:3000/activate/vanilla/$1/$2;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;