Infini-OPTIPLEX: enable nginx

This commit is contained in:
Infinidoge 2024-01-30 18:18:28 -05:00
parent ac3951b605
commit 1d6b4c45bf
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -34,6 +34,10 @@
address = "128.210.6.97"; address = "128.210.6.97";
interface = "enp0s31f6"; interface = "enp0s31f6";
}; };
firewall = {
allowedUDPPorts = [ 80 443 ];
allowedTCPPorts = [ 80 443 ];
};
}; };
persist = { persist = {
@ -60,4 +64,15 @@
"/root/.ssh/immutable_files.txt" "/root/.ssh/immutable_files.txt"
]; ];
}; };
services.nginx = {
enable = true;
statusPage = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
};
} }