[vaultwarden] add forward proxy through vpn

This commit is contained in:
2026-01-26 21:13:09 +01:00
parent 4f6acde34b
commit 2d9e65442e
3 changed files with 29 additions and 0 deletions

View File

@@ -57,6 +57,17 @@ in
};
};
services.nginx.virtualHosts."keys.malobeo.org" = {
forceSSL = true;
enableACME= true;
locations."/" = {
proxyPass = "http://10.0.0.10";
extraConfig = ''
'';
};
};
services.nginx.virtualHosts."grafana.malobeo.org" = {
forceSSL = true;
enableACME= true;

View File

@@ -173,6 +173,15 @@ in
};
};
virtualHosts."keys.malobeo.org" = {
locations."/" = {
proxyPass = "http://10.0.0.16";
extraConfig = ''
proxy_set_header Host $host;
'';
};
};
virtualHosts."grafana.malobeo.org" = {
locations."/" = {
proxyPass = "http://10.0.0.14";

View File

@@ -53,6 +53,15 @@ with lib;
};
};
virtualHosts."keys.malobeo.org" = {
locations."/" = {
proxyPass = "http://10.100.0.101";
extraConfig = ''
proxy_set_header Host $host;
'';
};
};
virtualHosts."grafana.malobeo.org" = {
locations."/" = {
proxyPass = "http://10.100.0.101";