limit matching url forwarding to future.html

This commit is contained in:
vv01f 2022-04-26 12:19:09 +02:00
parent 56261a7bd7
commit 012cb9639a
1 changed files with 1 additions and 2 deletions

View File

@ -66,8 +66,7 @@ in
index index.html;
rewrite ^/$ /2021/ redirect;
# redirect für Jahre ohne eigene Website (gedacht für kommende DS)
rewrite ^/\d{4}/$ /future.htmL redirect;
#try_files $uri /future.html =404;
try_files ^/\d{4}/.*$ /future.html =404;
'';
};