forked from Drift/pvv-nixos-config
20 lines
356 B
Nix
20 lines
356 B
Nix
{config, ... }:
|
|
|
|
{
|
|
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults.email = "danio@pvv.ntnu.no";
|
|
};
|
|
|
|
services.nginx = {
|
|
enable = true;
|
|
recommendedProxySettings = true;
|
|
recommendedTlsSettings = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedOptimisation = true;
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
}
|