2019-05-07 21:23:35 +02:00
|
|
|
#jinja2: lstrip_blocks: "True"
|
2018-06-26 19:40:48 +02:00
|
|
|
# The default is aligned to the CPU's cache size,
|
2020-07-17 10:31:20 +02:00
|
|
|
# which can sometimes be too low to handle our 2 vhosts (Synapse and Element).
|
2018-06-26 19:40:48 +02:00
|
|
|
#
|
|
|
|
# Thus, we ensure a larger bucket size value is used.
|
2020-02-11 00:40:50 +02:00
|
|
|
server_names_hash_bucket_size 64;
|
2021-05-28 10:14:01 +02:00
|
|
|
|
|
|
|
{% if matrix_nginx_proxy_http_level_resolver %}
|
|
|
|
resolver {{ matrix_nginx_proxy_http_level_resolver }};
|
|
|
|
{% endif %}
|
|
|
|
|
2020-02-11 00:40:50 +02:00
|
|
|
{% for configuration_block in matrix_nginx_proxy_proxy_http_additional_server_configuration_blocks %}
|
|
|
|
{{- configuration_block }}
|
|
|
|
{% endfor %}
|