[pretalx] proxy through vpn

This commit is contained in:
2026-03-07 16:01:15 +01:00
parent e021f46b4d
commit c3474f9c27
2 changed files with 19 additions and 0 deletions

View File

@@ -63,6 +63,16 @@ in
}; };
}; };
services.nginx.virtualHosts."talks.malobeo.org" = {
forceSSL = true;
enableACME= true;
locations."/" = {
proxyPass = "http://10.0.0.10";
extraConfig = ''
'';
};
};
services.nginx.virtualHosts."tasklist.malobeo.org" = { services.nginx.virtualHosts."tasklist.malobeo.org" = {
forceSSL = true; forceSSL = true;
enableACME= true; enableACME= true;

View File

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