1
Fork 0
satellite/hosts/nixos/common/optional/services/nginx.nix
2024-04-07 12:11:57 +02:00

12 lines
280 B
Nix

{
imports = [ ./acme.nix ];
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
statusPage = true; # Necessary for prometheus exporter
};
}