18 lines
351 B
Nix
18 lines
351 B
Nix
{
|
|
services.nginx = {
|
|
enable = true;
|
|
recommendedProxySettings = true;
|
|
recommendedTlsSettings = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedOptimisation = true;
|
|
};
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults.email = "nolan@thewordnerd.info";
|
|
};
|
|
networking.firewall.allowedTCPPorts = [
|
|
80
|
|
443
|
|
];
|
|
}
|