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

12 lines
280 B
Nix
Raw Normal View History

2024-01-31 20:26:11 +01:00
{
2024-04-07 12:11:57 +02:00
imports = [ ./acme.nix ];
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
};
}