Spaces:
Runtime error
Runtime error
Update nginx.conf
Browse files- 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 /
|
|
|
|
| 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;
|