Skip to content

Commit

Permalink
feat: 调整 QUIC 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Dec 10, 2023
1 parent 3c82631 commit 10db77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/website.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ func (r *WebsiteImpl) SaveConfig(config requests.SaveConfig) error {
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_prefer_server_ciphers off;
ssl_early_data on;
add_header Alt-Svc 'h3=":443"; ma=86400';
add_header Alt-Svc 'h3=":$server_port"; ma=2592000';
`
if config.HttpRedirect {
sslConfig += `# http重定向标记位开始
Expand Down

0 comments on commit 10db77f

Please sign in to comment.