20 lines
402 B
Nix
Executable file
20 lines
402 B
Nix
Executable file
{...}: {
|
|
services.nginx = {
|
|
enable = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedOptimisation = true;
|
|
recommendedProxySettings = true;
|
|
recommendedTlsSettings = true;
|
|
|
|
virtualHosts."_" = {
|
|
default = true;
|
|
locations."/" = {
|
|
return = 404;
|
|
};
|
|
};
|
|
};
|
|
|
|
security.acme.acceptTerms = true;
|
|
security.acme.defaults.email = "snorre@altschul.dk";
|
|
}
|