Skip to content

Commit

Permalink
feat(website controller): optimize ssl config
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jul 19, 2023
1 parent 5ce6565 commit bce2f27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/http/controllers/website_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ func (c *WebsiteController) SaveConfig(ctx http.Context) {
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:10m;
ssl_session_tickets off;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
ssl_protocols TLSv1.2 TLSv1.3;
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;
Expand Down

0 comments on commit bce2f27

Please sign in to comment.