Add hosts

This commit is contained in:
muon 2025-01-09 21:50:25 +00:00
parent 47bf3e923d
commit 8cd67b9c46
2 changed files with 28 additions and 16 deletions

View file

@ -48,11 +48,23 @@ in {
root = "/var/www";
configuration = { general = { directory-listing = true; }; };
};
services.nginx.virtualHosts."muon.host" = {
enableACME = true;
forceSSL = true;
default = true;
locations."/" = { proxyPass = "http://localhost:8008"; };
services.nginx.virtualHosts = {
"muon.host" = {
enableACME = true;
forceSSL = true;
default = true;
locations."/" = { proxyPass = "http://localhost:8008"; };
};
"tetterodesportcomplex.nl" = {
enableACME = true;
forceSSL = true;
locations."/" = { proxyPass = "http://10.0.0.3:5001"; };
};
"www.tetterodesportcomplex.nl" = {
enableACME = true;
forceSSL = true;
locations."/" = { proxyPass = "http://10.0.0.3:5001"; };
};
};
# Enable the OpenSSH daemon.