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

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +3 -2
nginx.conf CHANGED
@@ -29,10 +29,11 @@ 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 /tmp/nginx_error.log;
 
36
 
37
  limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;
38
  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
  # 设置访问日志
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;