Merge pull request #343 from Azure/user/jennylaw/perftuning
User/jennylaw/perftuning
This commit is contained in:
Коммит
9a49ff1100
|
@ -70,7 +70,7 @@ server {
|
|||
fastcgi_read_timeout 300;
|
||||
fastcgi_cache_bypass $skip_cache;
|
||||
fastcgi_no_cache $skip_cache;
|
||||
fastcgi_cache WORDPRESS;
|
||||
fastcgi_cache off;
|
||||
fastcgi_cache_valid 60m;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ error_log /dev/stderr error;
|
|||
pid /var/run/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 2048;
|
||||
worker_connections 10000;
|
||||
}
|
||||
|
||||
|
||||
|
@ -24,4 +24,4 @@ http {
|
|||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /etc/nginx/modules-enabled/*.conf;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,8 @@ underscores_in_headers on;
|
|||
|
||||
# allow '.' chars in headers
|
||||
ignore_invalid_headers off;
|
||||
keepalive_timeout 65;
|
||||
keepalive_timeout 315;
|
||||
keepalive_requests 10000;
|
||||
client_header_timeout 4m;
|
||||
client_body_timeout 4m;
|
||||
send_timeout 4m;
|
||||
|
|
|
@ -13,9 +13,6 @@ command=rc-service sshd start
|
|||
[program:watch-log-files]
|
||||
command=sh /usr/local/bin/super_log_files.sh
|
||||
|
||||
[program:watch-php-fpm]
|
||||
command=sh /usr/local/bin/watch-php-fpm.sh
|
||||
|
||||
[program:php-fpm]
|
||||
command=php-fpm
|
||||
autostart=true
|
||||
|
|
Загрузка…
Ссылка в новой задаче