mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-16 18:02:55 +02:00
Tunnel authentik.rubenhensen.nl through Hetzner
Same pattern as rss — needed so the OIDC redirect from freshrss (and other relying parties) works for clients outside the home LAN.
This commit is contained in:
@@ -18,7 +18,7 @@ records:
|
||||
- name: "authentik"
|
||||
expire: 300
|
||||
type: A
|
||||
content: "62.41.87.114"
|
||||
content: "46.224.26.65"
|
||||
- name: "ldap"
|
||||
expire: 300
|
||||
type: A
|
||||
|
||||
@@ -53,8 +53,9 @@ in
|
||||
# - tunneled hosts → home cluster ingress on 443
|
||||
streamConfig = ''
|
||||
map $ssl_preread_server_name $tunnel_upstream {
|
||||
rss.rubenhensen.nl ${homeIP}:443;
|
||||
default 127.0.0.1:8443;
|
||||
rss.rubenhensen.nl ${homeIP}:443;
|
||||
authentik.rubenhensen.nl ${homeIP}:443;
|
||||
default 127.0.0.1:8443;
|
||||
}
|
||||
|
||||
server {
|
||||
@@ -78,6 +79,16 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
virtualHosts."authentik.rubenhensen.nl" = {
|
||||
listen = [
|
||||
{ addr = "0.0.0.0"; port = 80; }
|
||||
{ addr = "[::]"; port = 80; }
|
||||
];
|
||||
locations."/" = {
|
||||
proxyPass = "http://${homeIP}";
|
||||
};
|
||||
};
|
||||
|
||||
virtualHosts."mail.rubenhensen.nl" = {
|
||||
listen = [
|
||||
{ addr = "0.0.0.0"; port = 80; }
|
||||
|
||||
Reference in New Issue
Block a user