Former-commit-id: ca8abfde1c
This commit is contained in:
Hadi
2024-06-07 23:34:02 +02:00
parent 3e818073e0
commit 54bb1e2064
4 changed files with 24 additions and 21 deletions

11
hosts/server/nginx.nix Normal file
View File

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