Commit 9892dd7d authored by daidekun's avatar daidekun

nginx

parent 09c9e4cc
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
error_log /usr/local/openresty/nginx/logs/error.log warn;
access_log /var/log/nginx/access.log main;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
include /usr/local/openresty/nginx/conf/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
server_names_hash_bucket_size 64;
sendfile on;
keepalive_timeout 65;
include /etc/nginx/conf.d/*.conf;
include /usr/local/openresty/nginx/conf/conf.d/*.conf;
}
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
error_log /usr/local/openresty/nginx/logs/error.log warn;
access_log /usr/local/openresty/nginx/logs/access.log main;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
include /usr/local/openresty/nginx/conf/mime.types;
default_type application/octet-stream;
log_format access '$remote_addr - $remote_user [$time_local] "$request" '
......@@ -17,10 +16,9 @@ http {
'"$http_user_agent" $http_x_forwarded_for '
'"$upstream_addr" "$upstream_status" "$upstream_response_time" "$request_time" "$http_cookie"';
access_log /var/log/nginx/access.log main;
server_names_hash_bucket_size 64;
sendfile on;
keepalive_timeout 65;
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