diff --git a/hosts/www/nginx.nix b/hosts/www/nginx.nix index 50d6d70..f957fdd 100644 --- a/hosts/www/nginx.nix +++ b/hosts/www/nginx.nix @@ -83,9 +83,6 @@ in "~ ^/calendars/([^/]+\.ics)$" = { alias = "/srv/http/calendars/$1"; extraConfig = '' - if ($http_origin ~ '^https://(www\.)?berlin\.ccc\.de$') { - add_header Access-Control-Allow-Origin $http_origin always; - } add_header Cache-Control "no-cache"; types { text/calendar ics;