feat: http acme challenge
This commit is contained in:
parent
846eef9683
commit
ffe0481e6f
1 changed files with 2 additions and 1 deletions
|
|
@ -58,13 +58,14 @@
|
||||||
allowedUDPPortRanges = range;
|
allowedUDPPortRanges = range;
|
||||||
allowedUDPPorts = [3478 5349];
|
allowedUDPPorts = [3478 5349];
|
||||||
allowedTCPPortRanges = [];
|
allowedTCPPortRanges = [];
|
||||||
allowedTCPPorts = [3478 5349];
|
allowedTCPPorts = [ 80 3478 5349];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# get a certificate
|
# get a certificate
|
||||||
security.acme.defaults.email = "stefan@tague.at";
|
security.acme.defaults.email = "stefan@tague.at";
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
security.acme.certs.${config.services.coturn.realm} = {
|
security.acme.certs.${config.services.coturn.realm} = {
|
||||||
|
listenHTTP = true;
|
||||||
postRun = "systemctl restart coturn.service";
|
postRun = "systemctl restart coturn.service";
|
||||||
group = "turnserver";
|
group = "turnserver";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue