Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Improve: TLS recommended configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
AnYiEE committed Apr 27, 2023
1 parent 9ca5c4a commit 75962b6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ http {
proxy_buffer_size 128k;
proxy_busy_buffers_size 256k;

ssl_stapling on;
ssl_stapling_verify on;
ssl_ciphers TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_stapling on;
ssl_stapling_verify on;

include /path/to/wikimirror/conf/wiki.nginx;
}

0 comments on commit 75962b6

Please sign in to comment.