2023-11-14 17:44:46 +00:00
|
|
|
{
|
|
|
|
flake,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
|
|
|
|
defaultListenAddresses = [
|
2024-03-25 18:13:19 +00:00
|
|
|
"10.13.12.7"
|
|
|
|
"[fd00:b12f:acab:1312:acab:7::]"
|
2023-11-14 17:44:46 +00:00
|
|
|
"128.140.109.213"
|
|
|
|
"[2a01:4f8:c2c:b60::]"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|