[fanny][vpn] open port 80, enable nginx
All checks were successful
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 5m49s

This commit is contained in:
2025-01-16 14:24:19 +01:00
parent 429be2c7b9
commit c78eb9cbc1
2 changed files with 17 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ with lib;
nameservers = [ "1.1.1.1" ];
firewall = {
allowedUDPPorts = [ 51821 ];
allowedTCPPorts = [ 80 ];
};
};
@@ -27,8 +28,11 @@ with lib;
privateKeyFile = config.sops.secrets.wg_private.path;
};
services.nginx.virtualHosts."docs.malobeo.org" = {
locations."/".proxyPass = "http://10.100.0.101";
services.nginx = {
enable = true;
virtualHosts."docs.malobeo.org" = {
locations."/".proxyPass = "http://10.100.0.101";
};
};
system.stateVersion = "22.11"; # Did you read the comment?