system/machines/modules/nginx.nix

12 lines
246 B
Nix
Raw Normal View History

2022-10-15 08:39:47 +03:00
{
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}