4 ms·
For anyone who is interested in nginx tuning, please follow the H5BP nginx repo: https://github.com/h5bp/server-configs-nginx https://github.com/h5bp/server-con
by tszming 13y ago
For anyone who is interested in nginx tuning, please follow the H5BP nginx repo: https://github.com/h5bp/server-configs-nginx https://github.com/h5bp/server-configs-nginx, which is very well documented already and still being maintained.
- gprasanth 13y agoLink to nginx.conf: https://github.com/h5bp/server-configs-nginx/blob/master/nginx.conf https://github.com/h5bp/server-configs-nginx/blob/master/ngi...
- elithrar 13y agoThanks, 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.
- gprasanth 13y agoThere is a great guide about using varnish with nginx to make WordPress fly on perfplanet blog. I recently blogged about this. http://serenecode.org/2013/11/nginx-php-fpm-5-5-zend-opcache-varnish-3-0-4-and-wordpress/ http://serenecode.org/2013/11/nginx-php-fpm-5-5-zend-opcache...
- youngtaff 13y agoNot sure about the H5BP config setting the keep-alive timeout to 20s (but would need to test to look at what resource consumption is like compared to say 5s) The OP recommends turning off gzip in MSIE6 when it was only the very first versions of IE6 that had a problem with gzip and it was fixed in later versions.
- cs02rm0 13y ago>> The OP recommends turning off gzip in MSIE6 when it was only the very first versions of IE6 that had a problem with gzip and it was fixed in later versions. And IE6 users are known far and wide for how fervently they upgrade. ;-)
- tszming 13y agoNo configuration is perfect in all scenarios. The good thing in using github is you can submit pull request or report issue when needed :) [1] Why `gzip_disable` is added: https://github.com/h5bp/server-configs/pull/92 https://github.com/h5bp/server-configs/pull/92 [2] Why `gzip_disable` is removed: https://github.com/h5bp/server-configs/issues/145 https://github.com/h5bp/server-configs/issues/145
- sbarre 13y agoThis post was worth it just for me to discover that this exists! Thank you!
- rb2e 13y agoI have to agree. If only I had known this about this repo back when I when I had a VPS. The comments for each option are explained well. The Nginx help docs are helpful but sometimes its nice to see a more detailed approach and though not every option will be right for "your" circumstances. It is nice to see.
- stephny 13y agomy neighbor's ex-wife makes $62 an hour on the internet. She has been out of work for 7 months but last month her pay check was $12671 just working on the internet for a few hours. discover here>>> ►►➽➽➠➠ www.Jobs37.ℂom
- leeoniya 13y agoadditionally, better for security: https://gist.github.com/plentz/6737338 https://gist.github.com/plentz/6737338
- wildmXranat 13y agoInteresting stuff. Thanks for posting it
- porker 13y agoThank you! Do you know of any equivalent for Apache?
- jsoo4 13y agoCould line 21 of nginx.conf actually be any more arrogant or presumptuous?