From 209acd0a3e40540058d4456c4d23cd858eec7c30 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Wed, 12 Aug 2026 02:20:48 +0200 Subject: [PATCH] remove CORS --- hosts/www/nginx.nix | 3 --- 1 file changed, 3 deletions(-) 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;