Set Dendrite's real_ip_header correctly

This commit is contained in:
Slavi Pantaleev
2021-12-23 18:47:50 +02:00
parent 05b4572fab
commit 5c3c0d0d58
3 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,10 @@ matrix_dendrite_allow_guest_access: false
matrix_dendrite_max_file_size_bytes: 10485760
# Controls which HTTP header (e.g. 'X-Forwarded-For', 'X-Real-IP') to inspect to find the real remote IP address of the client.
# This is likely required if Dendrite is running behind a reverse proxy server.
matrix_dendrite_sync_api_real_ip_header: ''
# The tmpfs at /tmp needs to be large enough to handle multiple concurrent file uploads.
matrix_dendrite_tmp_directory_size_mb: 500