services.matomo.nginx
With this option, you can customize an nginx virtualHost which already has sensible defaults for Matomo.
Either this option or the webServerUser option is mandatory.
Set this to {} to just enable the virtualHost if you don't need any customization.
If enabled, then by default, the serverName is
${user}.${config.networking.hostName}.${config.networking.domain},
SSL is active, and certificates are acquired via ACME.
If this is set to null (the default), no nginx virtualHost will be configured.
- Type
null or (submodule)- Default
null- Example
{ serverAliases = [ "matomo.${config.networking.domain}" "stats.${config.networking.domain}" ]; enableACME = false; }- Declared
- <nixpkgs/nixos/modules/services/web-apps/matomo.nix>