2021-10-17 11:00:52 +02:00
|
|
|
{config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
2022-09-08 17:42:54 +02:00
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
defaults.email = "danio@pvv.ntnu.no";
|
|
|
|
};
|
2021-10-17 11:00:52 +02:00
|
|
|
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
}
|