services.matrix-authentication-service.settings.http.trusted_proxies

NixOS option

MAS can infer the client IP address from the X-Forwarded-For header. It will trust the value for this header only if the request comes from a trusted reverse proxy listed here.

type: list of string
Default
[
  "127.0.0.1/8"
  "::1/128"
]
declared in: nixos/modules/services/matrix/matrix-authentication-service.nixView source on NixOS/nixpkgs →