Fix nginx.conf
This commit is contained in:
@@ -54,6 +54,10 @@ http {
|
|||||||
# ngx_vts_module
|
# ngx_vts_module
|
||||||
vhost_traffic_status_zone;
|
vhost_traffic_status_zone;
|
||||||
|
|
||||||
|
# tls dynamic records patch directive
|
||||||
|
ssl_dyn_rec_enable on;
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# SSL Settings
|
# SSL Settings
|
||||||
##
|
##
|
||||||
@@ -64,7 +68,7 @@ http {
|
|||||||
ssl_prefer_server_ciphers on;
|
ssl_prefer_server_ciphers on;
|
||||||
ssl_ciphers 'TLS13+AESGCM+AES256:TLS13+AESGCM+AES128:TLS13+CHACHA20:EECDH+AESGCM:EECDH+CHACHA20';
|
ssl_ciphers 'TLS13+AESGCM+AES256:TLS13+AESGCM+AES128:TLS13+CHACHA20:EECDH+AESGCM:EECDH+CHACHA20';
|
||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
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
|
# Previous TLS v1.2 configuration
|
||||||
# ssl_protocols TLSv1.2;
|
# ssl_protocols TLSv1.2;
|
||||||
# ssl_ciphers EECDH+CHACHA20:EECDH+AESGCM:EECDH+AES;
|
# ssl_ciphers EECDH+CHACHA20:EECDH+AESGCM:EECDH+AES;
|
||||||
@@ -98,7 +102,7 @@ http {
|
|||||||
error_log /var/log/nginx/error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
|
|
||||||
# Log format Settings
|
# 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_host "$request" $status $body_bytes_sent '
|
||||||
'"$http_referer" "$http_user_agent" "$server_protocol"';
|
'"$http_referer" "$http_user_agent" "$server_protocol"';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user