Start prep for move to icecast
This commit is contained in:
parent
910f20c054
commit
8f2e51ad0a
3 changed files with 17 additions and 16 deletions
|
@ -1,6 +1,18 @@
|
|||
{
|
||||
let
|
||||
secrets = import ../modules/secrets.nix;
|
||||
in {
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
daemon.settings.log-driver = "json-file";
|
||||
};
|
||||
|
||||
# Azuracast Nginx: TODO, get a better solution than docker lmao
|
||||
services.nginx.virtualHosts."radio.${secrets.jimDomain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:255";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue