fix: temp wildcard the ldap api
This commit is contained in:
parent
039764b633
commit
12ceb2c137
1 changed files with 3 additions and 1 deletions
|
@ -63,8 +63,10 @@
|
||||||
useACMEHost = "skynet";
|
useACMEHost = "skynet";
|
||||||
locations."/".proxyPass = "http://localhost:${port_backend}";
|
locations."/".proxyPass = "http://localhost:${port_backend}";
|
||||||
|
|
||||||
|
# extraConfig = ''
|
||||||
|
# add_header Access-Control-Allow-Origin "https://account.${cfg.domain.base}.${cfg.domain.tld}";
|
||||||
|
# '';
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
add_header Access-Control-Allow-Origin "https://account.${cfg.domain.base}.${cfg.domain.tld}";
|
|
||||||
add_header Access-Control-Allow-Origin "*";
|
add_header Access-Control-Allow-Origin "*";
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue