Move more things into their 'correct' place
This commit is contained in:
parent
ce31f4355e
commit
b69c9dbbbf
9 changed files with 109 additions and 58 deletions
|
@ -40,16 +40,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Bluemap Proxy, TODO, move this into the nix-minecraft flake configs
|
||||
"john.${outputs.secrets.jimDomain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:31010";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
appendConfig = ''
|
||||
rtmp {
|
||||
|
@ -76,4 +66,11 @@
|
|||
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