From 98ae753e9785bb9eeee8babb7859045bc53824f1 Mon Sep 17 00:00:00 2001 From: rsakeys Date: Sat, 22 Aug 2020 16:03:22 +0100 Subject: [PATCH] Update legacy template to serve the correct route for legacy activation. --- templates/sites/legacy.conf.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sites/legacy.conf.template b/templates/sites/legacy.conf.template index 4e7b2bd..a0da107 100644 --- a/templates/sites/legacy.conf.template +++ b/templates/sites/legacy.conf.template @@ -32,8 +32,8 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } - location /create/activate { - proxy_pass http://dash:3000/create/activate; + location ~ ^/penguin/activate/(.*) { + proxy_pass http://localhost:3000/activate/legacy/$1; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;