MyNixOS website logo
option

services.mastodon.trustedProxy

You need to set it to the IP from which your reverse proxy sends requests to Mastodon's web process, otherwise Mastodon will record the reverse proxy's own IP as the IP of all requests, which would be bad because IP addresses are used for important rate limits and security functions.

Declarations
Type
string
Default
"127.0.0.1"