malcolm: Configure firewall and wordpress

This commit is contained in:
2024-09-07 21:39:45 +02:00
parent 8777536817
commit 5261abf72c
4 changed files with 144 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
{ config, values, ... }:
{
services.nginx = {
enable = true;
clientMaxBodySize = "100m";
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}