services.pixelfed.nginx
With this option, you can customize an nginx virtual host which already has sensible defaults for Pixelfed.
Set to {} if you do not need any customization to the virtual host.
If enabled, then by default, the serverName is
${domain},
If this is set to null (the default), no nginx virtualHost will be configured.
- Type
null or (submodule)- Default
null- Example
{ serverAliases = [ "pics.${config.networking.domain}" ]; enableACME = true; forceSSL = true; }- Declared
- <nixpkgs/nixos/modules/services/web-apps/pixelfed.nix>