From a3f1f5b8df67d1103aa4c6621861fb6eda85a235 Mon Sep 17 00:00:00 2001 From: hexchen Date: Sat, 5 Dec 2020 19:05:47 +0000 Subject: [PATCH] hainich: fix nginx typo (codimd cors) --- 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 7749b93..a513ada 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; - proxy_add_header Access-Control-Allow-Origin "https://stuebinm.4future.de"; + add_header Access-Control-Allow-Origin "https://stuebinm.4future.de"; proxy_buffering off; ''; };