From 20e1548a078fbdb2c3828bd207eda1a4c1c98f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20St=C3=BCbinger?= Date: Thu, 10 Dec 2020 23:20:25 +0100 Subject: [PATCH] allow corigin * for codimd cors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (needed since we have freedom.rc3.io and future.rc3.io — seems the easiest solution, at least) --- configuration/hosts/hainich/services/codimd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/hosts/hainich/services/codimd.nix b/configuration/hosts/hainich/services/codimd.nix index a513ada..dad9011 100644 --- a/configuration/hosts/hainich/services/codimd.nix +++ b/configuration/hosts/hainich/services/codimd.nix @@ -72,7 +72,7 @@ proxy_set_header X-Forwarded-Host $http_host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; - add_header Access-Control-Allow-Origin "https://stuebinm.4future.de"; + add_header Access-Control-Allow-Origin "*"; proxy_buffering off; ''; };