Slavi Pantaleev 4年前
コミット
1ed0857019
1個のファイルの変更4行の追加4行の削除
  1. +4
    -4
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2

+ 4
- 4
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-riot-web.conf.j2 ファイルの表示

@@ -4,13 +4,13 @@
{% if matrix_nginx_proxy_floc_optout_enabled %}
add_header Permissions-Policy interest-cohort=() always;
{% endif %}
{% if matrix_nginx_proxy_hsts_preload_enabled %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
{% else %}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
{% endif
{% endif %}
add_header X-XSS-Protection "{{ matrix_nginx_proxy_xss_protection }}";

{% for configuration_block in matrix_nginx_proxy_proxy_riot_additional_server_configuration_blocks %}
@@ -75,7 +75,7 @@ server {
ssl_stapling_verify on;
ssl_trusted_certificate {{ matrix_ssl_config_dir_path }}/live/{{ matrix_nginx_proxy_proxy_riot_compat_redirect_hostname }}/chain.pem;
{% endif %}
{% if matrix_nginx_proxy_ssl_session_tickets_off %}
ssl_session_tickets off;
{% endif %}


読み込み中…
キャンセル
保存