Commit 4ba5311b authored by 智勇's avatar 智勇
parents a9c4d4dd a91c6668
#user nobody;
worker_processes 1;
error_log logs/error.log;
error_log logs/error.log notice;
error_log logs/error.log info;
error_log logs/error.log notice;
#pid logs/nginx.pid;
pid logs/nginx.pid;
env SYSTEM_NAME;
events {
worker_connections 1024;
}
......@@ -19,7 +16,7 @@ http {
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
log_format main '$time_iso8601 $remote_addr "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" $upstream_response_time $request_time';
......@@ -31,7 +28,7 @@ http {
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
gzip on;
include /usr/local/openresty/nginx/conf/conf.d/*.conf;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment