mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
final regex final ;)
This commit is contained in:
parent
ea07df4c81
commit
62df6621e0
@ -28,9 +28,7 @@ server {
|
||||
# Legacy URLS
|
||||
set $REWRITE_LEGACY_URLS "$NGINX_REWRITE_LEGACY_URLS";
|
||||
if ($REWRITE_LEGACY_URLS = 'true') {
|
||||
rewrite ^/vue$ / permanent;
|
||||
rewrite ^/vue/$ / permanent;
|
||||
rewrite ^/vue/(.+)/?$ $1 permanent;
|
||||
rewrite ^/vue/?(.*)$ /$1 permanent;
|
||||
}
|
||||
|
||||
# Frontend (default)
|
||||
|
||||
@ -13,9 +13,7 @@ server {
|
||||
# Legacy URLS
|
||||
set $REWRITE_LEGACY_URLS "$NGINX_REWRITE_LEGACY_URLS";
|
||||
if ($REWRITE_LEGACY_URLS = 'true') {
|
||||
rewrite ^/vue$ / permanent;
|
||||
rewrite ^/vue/$ / permanent;
|
||||
rewrite ^/vue/(.+)/?$ $1 permanent;
|
||||
rewrite ^/vue/?(.*)$ /$1 permanent;
|
||||
}
|
||||
|
||||
# Frontend (default)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user