Split domains into their own var file and update all files accordingly
This commit is contained in:
parent
47bf9a94cd
commit
fe73fa0d1f
34 changed files with 143 additions and 117 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue