mastodon / chart

Helm chart for Mastodon deployment in Kubernetes
GNU Affero General Public License v3.0
161 stars 93 forks source link

Add TRUSTED_PROXY_IP option #143

Closed jeremiahlee closed 3 months ago

jeremiahlee commented 4 months ago

Mastodon v4.2.9 started performing stricter checks to prevent client IP address spoofing. This environmental variable is required for use behind reverse proxy servers.

timetinytim commented 3 months ago

Good call, thank you! @jeremiahlee Would you mind adding something in the values.yaml file indicating that this is something people can set? Something like:

  # Tells the Mastodon web and streaming processes which IPs act as your trusted reverse proxy
  # More info: https://docs.joinmastodon.org/admin/config/#trusted_proxy_ip
  trusted_proxy_ip:
jeremiahlee commented 3 months ago

@timetinytim Good catch. I accidentally left that file out of my commit. Updated.