kanidm: bind LDAP to VPN
All checks were successful
Check flake / build-amd64-linux (push) Successful in 4m21s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 4m21s
This commit is contained in:
@ -16,6 +16,9 @@
|
|||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostId = "d24ae953";
|
hostId = "d24ae953";
|
||||||
|
hosts = {
|
||||||
|
"100.64.0.1" = [ "auth.vimium.com" ];
|
||||||
|
};
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
|
@ -69,8 +69,8 @@
|
|||||||
inherit uri;
|
inherit uri;
|
||||||
};
|
};
|
||||||
serverSettings = {
|
serverSettings = {
|
||||||
bindaddress = "[::1]:3013";
|
bindaddress = "127.0.0.1:3013";
|
||||||
ldapbindaddress = "[::1]:636";
|
ldapbindaddress = "100.64.0.1:636";
|
||||||
domain = baseDomain;
|
domain = baseDomain;
|
||||||
origin = uri;
|
origin = uri;
|
||||||
tls_chain = "${config.security.acme.certs.${domain}.directory}/full.pem";
|
tls_chain = "${config.security.acme.certs.${domain}.directory}/full.pem";
|
||||||
@ -83,7 +83,7 @@
|
|||||||
useACMEHost = "auth.vimium.com";
|
useACMEHost = "auth.vimium.com";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "https://[::1]:3013";
|
proxyPass = "https://127.0.0.1:3013";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user