jianwei233 commited on
Commit
04ba543
·
verified ·
1 Parent(s): a706cdb

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -5
nginx.conf CHANGED
@@ -29,11 +29,8 @@ http {
29
  gzip_types text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml;
30
 
31
  # 日志配置
32
- # access_log /tmp/nginx_access.log;
33
- # 设置访问日志
34
- access_log /dev/stdout;
35
- error_log /dev/stderr;
36
- # error_log /tmp/nginx_error.log;
37
 
38
  limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;
39
  limit_conn_zone $binary_remote_addr zone=addr:10m;
 
29
  gzip_types text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml;
30
 
31
  # 日志配置
32
+ access_log /tmp/nginx_access.log;
33
+ error_log /tmp/nginx_error.log;
 
 
 
34
 
35
  limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;
36
  limit_conn_zone $binary_remote_addr zone=addr:10m;