mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Tunnel vault.rubenhensen.nl through Hetzner
This commit is contained in:
@@ -30,7 +30,7 @@ records:
|
||||
- name: "vault"
|
||||
expire: 300
|
||||
type: A
|
||||
content: "62.41.87.114"
|
||||
content: "46.224.26.65"
|
||||
- name: "rss"
|
||||
expire: 300
|
||||
type: A
|
||||
|
||||
@@ -55,6 +55,7 @@ in
|
||||
map $ssl_preread_server_name $tunnel_upstream {
|
||||
rss.rubenhensen.nl ${homeIP}:443;
|
||||
authentik.rubenhensen.nl ${homeIP}:443;
|
||||
vault.rubenhensen.nl ${homeIP}:443;
|
||||
default 127.0.0.1:8443;
|
||||
}
|
||||
|
||||
@@ -89,6 +90,16 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
virtualHosts."vault.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