From 12ceb2c1373ef2074210c64a8822c5f8e44b6366 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Tue, 29 Aug 2023 16:22:07 +0100 Subject: [PATCH] fix: temp wildcard the ldap api --- applications/ldap/backend.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/ldap/backend.nix b/applications/ldap/backend.nix index 78dbb1b..b5baf68 100644 --- a/applications/ldap/backend.nix +++ b/applications/ldap/backend.nix @@ -63,8 +63,10 @@ useACMEHost = "skynet"; locations."/".proxyPass = "http://localhost:${port_backend}"; +# extraConfig = '' +# add_header Access-Control-Allow-Origin "https://account.${cfg.domain.base}.${cfg.domain.tld}"; +# ''; extraConfig = '' - add_header Access-Control-Allow-Origin "https://account.${cfg.domain.base}.${cfg.domain.tld}"; add_header Access-Control-Allow-Origin "*"; ''; };