Skip to content

Commit

Permalink
nginx dir modify
Browse files Browse the repository at this point in the history
  • Loading branch information
893271511 committed May 27, 2016
1 parent 17aa5a2 commit becf13c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ worker_processes 8;
worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000;
worker_rlimit_nofile 65535;

error_log /data/logs/nginx/error2.log debug;
pid /var/run/nginx2.pid;
error_log /data/logs/nginx/error.log debug;
pid /var/run/nginx.pid;

events {
use epoll;
Expand All @@ -14,7 +14,7 @@ events {

http {
include mime.types;
include /usr/local/nginx2/conf/conf.d/*.conf;
include /usr/local/nginx/conf/conf.d/*.conf;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
Expand Down Expand Up @@ -43,15 +43,15 @@ http {
'"hostname":"$hostname",'
'"host_user_agent":"$http_user_agent"}';

access_log /data/logs/nginx/access2.log json;
access_log /data/logs/nginx/access.log json;

sendfile on;
keepalive_timeout 65;
client_header_timeout 60;
client_body_timeout 30;
client_header_buffer_size 1M;
send_timeout 60;
lua_package_path "/usr/local/nginx2/conf/lua/?.lua";
lua_package_path "/usr/local/nginx/conf/lua/?.lua";

gzip on;
gzip_proxied expired no-cache no-store private auth;
Expand Down

0 comments on commit becf13c

Please sign in to comment.