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