Browse Source

limit matching url forwarding to future.html

ds-future
vv01f 2 months ago
parent
commit
012cb9639a
  1. 3
      hosts/containers/c3d2-web/default.nix

3
hosts/containers/c3d2-web/default.nix

@ -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…
Cancel
Save