2023-04-16 16:49:08 +02:00
|
|
|
{ config, values, ... }:
|
|
|
|
{
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
enableReload = true;
|
|
|
|
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
2023-09-13 23:21:28 +02:00
|
|
|
|
|
|
|
/* security.acme = { */
|
|
|
|
/* acceptTerms = true; */
|
|
|
|
/* email = "felix@albrigtsen.it"; */
|
|
|
|
/* }; */
|
2023-04-16 16:49:08 +02:00
|
|
|
}
|
|
|
|
|