|
|
@ -124,6 +124,10 @@
|
|
|
|
proxy_pass http://media_repository_upstream$request_uri;
|
|
|
|
proxy_pass http://media_repository_upstream$request_uri;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
client_body_buffer_size 25M;
|
|
|
|
|
|
|
|
client_max_body_size {{ matrix_nginx_proxy_proxy_matrix_client_api_client_max_body_size_mb }}M;
|
|
|
|
|
|
|
|
proxy_max_temp_file_size 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
@ -379,6 +383,10 @@ server {
|
|
|
|
proxy_pass http://media_repository_upstream$request_uri;
|
|
|
|
proxy_pass http://media_repository_upstream$request_uri;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
client_body_buffer_size 25M;
|
|
|
|
|
|
|
|
client_max_body_size {{ matrix_nginx_proxy_proxy_matrix_federation_api_client_max_body_size_mb }}M;
|
|
|
|
|
|
|
|
proxy_max_temp_file_size 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|