2022-05-18 21:17:15 +02:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
443
|
|
|
|
];
|
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
email = "admin+acme@zweili.ch";
|
|
|
|
};
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
2022-05-18 21:19:30 +02:00
|
|
|
recommendedOptimisation = true;
|
2022-05-18 21:17:15 +02:00
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
};
|
|
|
|
}
|