Skip to content

Commit

Permalink
Better config
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanjx authored Mar 13, 2024
1 parent ecc058c commit 3ea789f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/mainline/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ load_module modules/ngx_http_brotli_static_module.so;
#load_module modules/ngx_http_js_module.so;

user nginx;
worker_processes 1;
worker_processes auto;

error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
Expand Down Expand Up @@ -39,9 +39,9 @@ http {
server_tokens off;

keepalive_disable msie6;
keepalive_timeout 70;

ssl_dyn_rec_enable on;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ecdh_curve X25519:P-521:P-384;
ssl_ciphers [ECDHE-ECDSA-CHACHA20-POLY1305|ECDHE-RSA-CHACHA20-POLY1305|ECDHE-ECDSA-AES256-GCM-SHA384|ECDHE-RSA-AES256-GCM-SHA384]:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256;
ssl_prefer_server_ciphers on;
Expand Down

0 comments on commit 3ea789f

Please sign in to comment.