This commit is contained in:
Hadi
2024-06-07 23:34:02 +02:00
parent 24de104139
commit ca8abfde1c
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 ]; };
}