For anyone who is interested in nginx tuning, please follow the H5BP nginx repo: https://github.com/h5bp/server-configs-nginx , which is very well documented already and still being maintained.
This post was worth it just for me to discover that this exists! Thank you!
Battle-ready Nginx – an optimization guide
21–30 of 46 posts
Re: Battle-ready Nginx – an optimization guide
#22What purpose of the article if in the documentation at nginx.org/en/docs/ you can find the same? And, btw, you are giving bad advices. You are wrong here: "By default, nginx sets our keep-alive timeout to 75s (in this config, we drop it down to 10s), which means, without changing the default, we can handle ~14 connections per second. Our config will allow us to handle ~102 users per second." No, the keepalive connect…
And even more: "send_timeout 2;" Mobile clients from another continent will "thank you" for this setting when they cannot open your site. "error_log /var/log/nginx/error.log crit;" A way to be unaware when something is wrong with your server. Nginx produces not only "crit" errors, but a bunch of very useful warnings, that need attention. "limit_conn addr 10;" Chrome and Firefox usually open more than 10 connections.…
> Chrome and Firefox usually open more than 10 connections.
According to browserscope.org both browsers open only 6 connections per hostname.Re: Battle-ready Nginx – an optimization guide
#23Re: Battle-ready Nginx – an optimization guide
#24Re: Battle-ready Nginx – an optimization guide
#25For anyone who is interested in nginx tuning, please follow the H5BP nginx repo: https://github.com/h5bp/server-configs-nginx , which is very well documented already and still being maintained.
This post was worth it just for me to discover that this exists! Thank you!
Re: Battle-ready Nginx – an optimization guide
#26Re: Battle-ready Nginx – an optimization guide
#27Earlier quoted context omitted.
Link to nginx.conf: https://github.com/h5bp/server-configs-nginx/blob/master/ngi...
Thanks, this is useful—the comments especially so. It's a shame there isn't one for reverse (HTTP) proxies: fine tuning proxy settings: proxy_buffers, buffering, etc, and other related settings when dealing with a back end application.
Re: Battle-ready Nginx – an optimization guide
#28Re: Battle-ready Nginx – an optimization guide
#29Re: Battle-ready Nginx – an optimization guide
#30For anyone who is interested in nginx tuning, please follow the H5BP nginx repo: https://github.com/h5bp/server-configs-nginx , which is very well documented already and still being maintained.