[fanny][vpn] open port 80, enable nginx
All checks were successful
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 5m49s
All checks were successful
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 5m49s
This commit is contained in:
@@ -56,9 +56,18 @@ in
|
|||||||
services.malobeo.microvm.deployHosts = [ "infradocs" ];
|
services.malobeo.microvm.deployHosts = [ "infradocs" ];
|
||||||
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."docs.malobeo.org" = {
|
networking = {
|
||||||
|
firewall = {
|
||||||
|
allowedTCPPorts = [ 80 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts."docs.malobeo.org" = {
|
||||||
locations."/".proxyPass = "http://10.0.0.11:9000";
|
locations."/".proxyPass = "http://10.0.0.11:9000";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.tor = {
|
services.tor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ with lib;
|
|||||||
nameservers = [ "1.1.1.1" ];
|
nameservers = [ "1.1.1.1" ];
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedUDPPorts = [ 51821 ];
|
allowedUDPPorts = [ 51821 ];
|
||||||
|
allowedTCPPorts = [ 80 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -27,9 +28,12 @@ with lib;
|
|||||||
privateKeyFile = config.sops.secrets.wg_private.path;
|
privateKeyFile = config.sops.secrets.wg_private.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."docs.malobeo.org" = {
|
services.nginx = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts."docs.malobeo.org" = {
|
||||||
locations."/".proxyPass = "http://10.100.0.101";
|
locations."/".proxyPass = "http://10.100.0.101";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "22.11"; # Did you read the comment?
|
system.stateVersion = "22.11"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user