瀏覽代碼

Disable TLS 1.0 and enable TLS 1.3

pull/27/head
Aaron Raimist 7 年之前
父節點
當前提交
3254a4d161
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 37419210002890EF
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      roles/matrix-server/templates/nginx-conf.d/matrix-riot-web.conf.j2
  2. +1
    -1
      roles/matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2

+ 1
- 1
roles/matrix-server/templates/nginx-conf.d/matrix-riot-web.conf.j2 查看文件

@@ -35,7 +35,7 @@ server {

ssl_certificate {{ matrix_ssl_config_dir_path }}/live/{{ hostname_riot }}/fullchain.pem;
ssl_certificate_key {{ matrix_ssl_config_dir_path }}/live/{{ hostname_riot }}/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";



+ 1
- 1
roles/matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2 查看文件

@@ -35,7 +35,7 @@ server {

ssl_certificate {{ matrix_ssl_config_dir_path }}/live/{{ hostname_matrix }}/fullchain.pem;
ssl_certificate_key {{ matrix_ssl_config_dir_path }}/live/{{ hostname_matrix }}/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";



Loading…
取消
儲存