Move MPD to home manager
This commit is contained in:
parent
2beaf963c2
commit
bcadad2420
16 changed files with 43 additions and 66 deletions
|
@ -0,0 +1,20 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."turn.${config.domains.jim1}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
listen = [{
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
ssl = false;
|
||||
}];
|
||||
locations."/".proxyPass = "http://127.0.0.1:1380";
|
||||
};
|
||||
|
||||
security.acme.certs = {
|
||||
"turn.${config.domains.jim1}" = {
|
||||
group = "turnserver";
|
||||
postRun = "systemctl restart coturn.service";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue