|
|
|
@@ -9,12 +9,6 @@ |
|
|
|
{% if matrix_nginx_proxy_floc_optout_enabled %} |
|
|
|
add_header Permissions-Policy interest-cohort=() always; |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if matrix_nginx_proxy_ocsp_stapling_enabled and matrix_ssl_retrieval_method in ["lets-encrypt", "manually-managed"] %} |
|
|
|
ssl_stapling on; |
|
|
|
ssl_stapling_verify on; |
|
|
|
ssl_trusted_certificate {{ matrix_ssl_config_dir_path }}/live/{{ matrix_nginx_proxy_base_domain_hostname }}/chain.pem; |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% for configuration_block in matrix_nginx_proxy_proxy_domain_additional_server_configuration_blocks %} |
|
|
|
{{- configuration_block }} |
|
|
|
@@ -75,6 +69,12 @@ server { |
|
|
|
ssl_ciphers {{ matrix_nginx_proxy_ssl_ciphers }}; |
|
|
|
{% endif %} |
|
|
|
ssl_prefer_server_ciphers {{ matrix_nginx_proxy_ssl_prefer_server_ciphers }}; |
|
|
|
|
|
|
|
{% if matrix_nginx_proxy_ocsp_stapling_enabled %} |
|
|
|
ssl_stapling on; |
|
|
|
ssl_stapling_verify on; |
|
|
|
ssl_trusted_certificate {{ matrix_ssl_config_dir_path }}/live/{{ matrix_nginx_proxy_base_domain_hostname }}/chain.pem; |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{{ render_vhost_directives() }} |
|
|
|
} |
|
|
|
|