Set X-Forwarded-Proto on federation requests

This commit is contained in:
Aaron Raimist 2021-03-17 18:51:10 -05:00
parent 41c90d2087
commit 32b3650c12
No known key found for this signature in database
GPG Key ID: 37419210002890EF

View File

@ -241,6 +241,7 @@ server {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
client_body_buffer_size 25M;
client_max_body_size {{ matrix_nginx_proxy_proxy_matrix_federation_api_client_max_body_size_mb }}M;