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

13 lines
363 B
Nix

{
imports = [ ./acme.nix ];
satellite.nginx.domain = "moonythm.dev"; # Root domain used throughout my config
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
statusPage = true; # Necessary for prometheus exporter
};
}