diff --git a/hosts/www/nginx.nix b/hosts/www/nginx.nix index a7df103..c84f18c 100644 --- a/hosts/www/nginx.nix +++ b/hosts/www/nginx.nix @@ -77,6 +77,9 @@ in autoindex on; ''; }; + "/all.ics" = { + return = "301 https://www.berlin.ccc.de/calendars/all.ics"; + }; "~ ^/calendars/([^/]+\.ics)$" = { alias = "/srv/http/calendars/$1"; extraConfig = ''