1
Fork 0
satellite/hosts/nixos/common/optional/services/nginx.nix

12 lines
276 B
Nix
Raw Normal View History

2024-01-31 20:26:11 +01:00
{
2024-01-31 21:59:11 +01:00
imports = [ ./acme ];
2024-01-31 20:26:11 +01:00
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
2024-02-24 10:21:11 +01:00
statusPage = true; # Necessary for prometheus exporter
2024-01-31 20:26:11 +01:00
};
}