Enable OCSP stapling for the federation port

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1057

Not sure if this is beneficial though.
This commit is contained in:
Slavi Pantaleev
2021-05-18 08:15:02 +03:00
parent 57a6a98a50
commit e6afa05f7b
2 changed files with 8 additions and 1 deletions

View File

@ -242,6 +242,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_nginx_proxy_proxy_matrix_federation_api_ssl_trusted_certificate }};
{% endif %}
{% endif %}
location / {