nginx 技巧
默認, nginx 具有 1024 限製
除了令 daemon 用戶 打開文件最大限製 -> limits.conf 以外
nginx.conf 需要打開最大進程文件並發量
worker_rlimit_nofile 20000;
php 支持中
具有下麵兩種方法
fastcgi_pass unix:/var/run/php.socket
fastcgi_pass https://127.0.0.1:9000
最後更新:2017-04-02 22:16:38
默認, nginx 具有 1024 限製
除了令 daemon 用戶 打開文件最大限製 -> limits.conf 以外
nginx.conf 需要打開最大進程文件並發量
worker_rlimit_nofile 20000;
php 支持中
具有下麵兩種方法
fastcgi_pass unix:/var/run/php.socket
fastcgi_pass https://127.0.0.1:9000
最後更新:2017-04-02 22:16:38