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)