mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-03-11 00:18:23 +01:00
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 ];
|
|
}
|