Nginx:Optimized configuration with DDoS mitigation: Difference between revisions
Created page with " user nginx; # one(1) worker or equal the number of _real_ cpu cores. 4=4 core cpu worker_processes 4; # renice workers to reduce priority compared to system processes for # machine health. worst case nginx will get ~25% system resources at nice=15 worker_priority -5; timer_resolution 100ms; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; worker_rlimit_nofile 100000; events { worker_connections 1024; use epoll;..." |
No edit summary |
||
| Line 1: | Line 1: | ||
Paste di <code>/etc/nginx/nginx.conf</code> | |||
user nginx; | user nginx; | ||