Skip to content
This repository was archived by the owner on Aug 10, 2020. It is now read-only.

Commit 8484dc4

Browse files
committed
Update nginx.conf
1 parent 4efc407 commit 8484dc4

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

nginx/debian/conf/nginx.conf

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ http {
1212
##
1313
# EasyEngine Settings
1414
##
15+
1516
sendfile on;
1617
tcp_nopush on;
1718
tcp_nodelay on;
@@ -20,7 +21,7 @@ http {
2021

2122
server_tokens off;
2223
reset_timedout_connection on;
23-
add_header X-Powered-By "EasyEngine";
24+
# add_header X-Powered-By "EasyEngine";
2425
add_header rt-Fastcgi-Cache $upstream_cache_status;
2526

2627
# Limit Request
@@ -33,19 +34,17 @@ http {
3334

3435
fastcgi_read_timeout 300;
3536
client_max_body_size 100m;
36-
37+
38+
##
3739
# SSL Settings
40+
##
41+
3842
ssl_session_cache shared:SSL:20m;
3943
ssl_session_timeout 10m;
4044
ssl_prefer_server_ciphers on;
4145
ssl_ciphers HIGH:!aNULL:!MD5:!kEDH;
4246
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
4347

44-
# Log format Settings
45-
log_format rt_cache '$remote_addr $upstream_response_time $upstream_cache_status [$time_local] '
46-
'$http_host "$request" $status $body_bytes_sent '
47-
'"$http_referer" "$http_user_agent"';
48-
4948
##
5049
# Basic Settings
5150
##
@@ -62,6 +61,11 @@ http {
6261
access_log /var/log/nginx/access.log;
6362
error_log /var/log/nginx/error.log;
6463

64+
# Log format Settings
65+
log_format rt_cache '$remote_addr $upstream_response_time $upstream_cache_status [$time_local] '
66+
'$http_host "$request" $status $body_bytes_sent '
67+
'"$http_referer" "$http_user_agent"';
68+
6569
##
6670
# Gzip Settings
6771
##

0 commit comments

Comments
 (0)