Modularize nginx

This commit is contained in:
Jimbo 2024-10-22 21:08:23 -04:00
parent 9d322d435c
commit e451e70b93
8 changed files with 96 additions and 76 deletions

View file

@ -0,0 +1,14 @@
{ pkgs, config, ... }:
{
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
};
networking.firewall.allowedTCPPorts = [
80 443
];
}