services.public-inbox.http.port
Listening port or systemd's ListenStream= entry
to be used as a reverse proxy, eg. in nginx:
locations."/inbox".proxyPass = "http://unix:${config.services.public-inbox.http.port}:/inbox";
Set to null and use systemd.sockets.public-inbox-httpd.listenStreams
if you need a more advanced listening.
- Type
null or string or 16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default
80- Example
"/run/public-inbox-httpd.sock"- Declared
- <nixpkgs/nixos/modules/services/mail/public-inbox.nix>