From ea07df4c81c0b2d4ac198c5f203fde744b568874 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 8 Jan 2022 06:10:21 +0100 Subject: [PATCH] final regex fix --- .../bare_metal/nginx/sites-available/gradido.conf.ssl.template | 2 +- .../bare_metal/nginx/sites-available/gradido.conf.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template b/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template index 334392d87..07e66f397 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template @@ -30,7 +30,7 @@ server { if ($REWRITE_LEGACY_URLS = 'true') { rewrite ^/vue$ / permanent; rewrite ^/vue/$ / permanent; - rewrite ^/vue/(.+)/?$ /$1 permanent; + rewrite ^/vue/(.+)/?$ $1 permanent; } # Frontend (default) diff --git a/deployment/bare_metal/nginx/sites-available/gradido.conf.template b/deployment/bare_metal/nginx/sites-available/gradido.conf.template index c00ff346c..97c7c614c 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.template @@ -15,7 +15,7 @@ server { if ($REWRITE_LEGACY_URLS = 'true') { rewrite ^/vue$ / permanent; rewrite ^/vue/$ / permanent; - rewrite ^/vue/(.+)/?$ /$1 permanent; + rewrite ^/vue/(.+)/?$ $1 permanent; } # Frontend (default)