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 "*"; ''; };