From 17510fe57caa1c5471a14faddb0a4919057a6483 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Sun, 28 Jul 2019 22:22:51 +0200 Subject: [PATCH] Fix nginx.conf --- wo/cli/templates/nginx-core.mustache | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wo/cli/templates/nginx-core.mustache b/wo/cli/templates/nginx-core.mustache index 3638801..dd4631e 100644 --- a/wo/cli/templates/nginx-core.mustache +++ b/wo/cli/templates/nginx-core.mustache @@ -54,6 +54,10 @@ http { # ngx_vts_module vhost_traffic_status_zone; + # tls dynamic records patch directive + ssl_dyn_rec_enable on; + + ## # SSL Settings ## @@ -64,7 +68,7 @@ http { ssl_prefer_server_ciphers on; ssl_ciphers 'TLS13+AESGCM+AES256:TLS13+AESGCM+AES128:TLS13+CHACHA20:EECDH+AESGCM:EECDH+CHACHA20'; ssl_protocols TLSv1.2 TLSv1.3; - ssl_ecdh_curve secp521r1:secp384r1; + ssl_ecdh_curve X25519:P-521:P-384:P-256; # Previous TLS v1.2 configuration # ssl_protocols TLSv1.2; # ssl_ciphers EECDH+CHACHA20:EECDH+AESGCM:EECDH+AES; @@ -98,7 +102,7 @@ http { error_log /var/log/nginx/error.log; # Log format Settings - log_format wo_cache '$remote_addr $upstream_response_time $upstream_cache_status [$time_local] ' + log_format rt_cache '$remote_addr $upstream_response_time $upstream_cache_status [$time_local] ' '$http_host "$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent" "$server_protocol"';