Split domains into their own var file and update all files accordingly

This commit is contained in:
Jimbo 2024-10-24 23:42:09 -04:00
parent 47bf9a94cd
commit fe73fa0d1f
34 changed files with 143 additions and 117 deletions

View file

@ -43,7 +43,7 @@ in {
};
# BlueMap webhost
nginx.virtualHosts."john.${config.secrets.jimDomain}" = {
nginx.virtualHosts."john.${config.domains.jim1}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
@ -52,16 +52,4 @@ in {
};
};
};
# Allow Nginx to read and write to paths
systemd.services.nginx.serviceConfig = {
ReadWritePaths = [ "/var/www/Jimbo-Landing-Page/streams/hls/" ];
};
# Open HTTP and HTTPs ports
networking.firewall = {
allowedTCPPorts = [
80 443 # Nginx
];
};
}