forked from malobeo/infrastructure
[pretalx] proxy through vpn
This commit is contained in:
@@ -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" = {
|
||||
forceSSL = true;
|
||||
enableACME= true;
|
||||
|
||||
@@ -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" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://10.100.0.101";
|
||||
|
||||
Reference in New Issue
Block a user