Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mpm_prefork_module>
- StartServers 10
- MinSpareServers 10
- MaxSpareServers 20
- ServerLimit 2000
- MaxRequestWorkers 1500
- MaxConnectionsPerChild 10000
- </IfModule>
- <IfModule mpm_worker_module>
- StartServers 2
- MinSpareThreads 25
- MaxSpareThreads 75
- ThreadLimit 64
- ThreadsPerChild 25
- MaxClients 200
- MaxRequestsPerChild 4000
- </IfModule>
- # Server globals
- user www-data;
- worker_processes auto;
- worker_rlimit_nofile 65535;
- error_log /var/log/nginx/error.log;
- pid /var/run/nginx.pid;
- # Worker config
- events {
- worker_connections 2048;
- use epoll;
- multi_accept on;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement