summaryrefslogtreecommitdiffhomepage
path: root/nginx/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r--nginx/nginx.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index d0601ec..b340adc 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -22,8 +22,7 @@ http {
22 server_names_hash_bucket_size 128; 22 server_names_hash_bucket_size 128;
23 23
24 include mime.types; 24 include mime.types;
25 default_type application/octet-stream; 25 default_type "text/plain; charset=utf-8";
26 disable_symlinks off;
27 26
28 # Read manual for valid variables: 27 # Read manual for valid variables:
29 # https://nginx.org/en/docs/http/ngx_http_core_module.html#variables 28 # https://nginx.org/en/docs/http/ngx_http_core_module.html#variables
@@ -32,11 +31,12 @@ http {
32 # '$status $body_bytes_sent "$http_referer" ' 31 # '$status $body_bytes_sent "$http_referer" '
33 # '"$http_user_agent" "$http_x_forwarded_for"'; 32 # '"$http_user_agent" "$http_x_forwarded_for"';
34 log_format main '$status $request_method\t$http_host$uri\tfrom $http_referer\n' 33 log_format main '$status $request_method\t$http_host$uri\tfrom $http_referer\n'
35 '$time_iso8601 $remote_addr\r\t\t\t\t\t $http_user_agent'; 34 ' $time_iso8601 $remote_addr\r\t\t\t\t\t $http_user_agent';
36 access_log /var/log/nginx/access.log main; 35 access_log /var/log/nginx/access.log main;
37 36
38 sendfile on; 37 sendfile on;
39 #tcp_nopush on; 38 tcp_nopush on;
39 tcp_nodelay on;
40 40
41 #keepalive_timeout 0; 41 #keepalive_timeout 0;
42 keepalive_timeout 65; 42 keepalive_timeout 65;