Update legacy template to serve the correct route for legacy activation.

This commit is contained in:
rsakeys 2020-08-22 16:03:22 +01:00
parent f7cec3aa47
commit 98ae753e97

View File

@ -32,8 +32,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 /create/activate { location ~ ^/penguin/activate/(.*) {
proxy_pass http://dash:3000/create/activate; proxy_pass http://localhost:3000/activate/legacy/$1;
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;