Change authentik dns rubenhensen.nl

This commit is contained in:
Ruben Hensen
2026-03-15 21:32:23 +01:00
parent 1034986fa1
commit 0ed06f311c
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ records:
content: "@"
- name: "authentik"
expire: 86400
type: CNAME
content: "@"
type: A
content: "62.41.87.114"
- name: "argocd"
expire: 86400
type: CNAME
+4 -1
View File
@@ -160,7 +160,10 @@ in
filter.verify = "(&(objectClass=user)(|(mail=*?*)(cn=*?*)))";
filter.expand = "(&(objectClass=group)(cn=?))";
attribute.name = "cn";
attribute.type = "class";
attribute.email = "mail";
attribute.secret = "userPassword";
attribute.groups = "memberOf";
attribute.description = "displayName";
};
@@ -255,7 +258,7 @@ in
systemd.services.nginx.serviceConfig.LimitNOFILE = 65536;
systemd.services.nginx.preStart = lib.mkBefore ''
mkdir -p /run/nginx
test -f /run/nginx/k8s-upstream.conf || printf 'upstream k8s_tls {\n server 127.0.0.1:443;\n}\n\nupstream k8s_ldap {\n server 127.0.0.1:3389;\n}\n' > /run/nginx/k8s-upstream.conf
test -f /run/nginx/k8s-upstream.conf || printf 'upstream k8s_tls {\n server 127.0.0.1:1;\n}\n\nupstream k8s_ldap {\n server 127.0.0.1:1;\n}\n' > /run/nginx/k8s-upstream.conf
test -f /run/nginx/k8s-http-upstream.conf || printf 'upstream k8s_http {\n server 127.0.0.1:80;\n}\n' > /run/nginx/k8s-http-upstream.conf
'';