mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-29 01:55:19 +01:00
posts: update post
This commit is contained in:
parent
4f49038997
commit
416654ae31
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ redis:
|
|||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
#注意替换前端后端地址
|
||||
#注意替换自己的前端后端地址
|
||||
```
|
||||
|
||||
- 新建 `synapse.matrix.org` 的 `dns` ,指向服务器地址,再 `certbot certonly --nginx -d synapse.matrix.org` 申请证书
|
||||
|
@ -146,7 +146,7 @@ server {
|
|||
# https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_prefer_server_ciphers on;
|
||||
ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDH>
|
||||
ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
|
||||
ssl_session_timeout 10m;
|
||||
ssl_session_cache shared:SSL:10m;
|
||||
ssl_session_tickets on;
|
||||
|
|
Loading…
Reference in a new issue