limit matching url forwarding to future.html
This commit is contained in:
parent
56261a7bd7
commit
012cb9639a
|
@ -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;
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue