nixos/modules/nginx-reverse-proxy.nix

13 lines
268 B
Nix
Raw Normal View History

_: {
security.acme.defaults.email = "malte.tammena@pm.me";
2021-06-10 20:56:40 +02:00
security.acme.acceptTerms = true;
networking.firewall.allowedTCPPorts = [443 80];
2021-06-10 21:40:10 +02:00
2021-06-10 20:56:40 +02:00
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
}