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