Re:Battle-ready Nginx – an optimization guide
by tszming on Sunday November 17, 2013 @09:30AM
(#6749068)
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.
[ Parent
| on HN ]
Re:Battle-ready Nginx – an optimization guide
by gprasanth on Sunday November 17, 2013 @09:36AM
(#6749089)
Link to nginx.conf: https://github.com/h5bp/server-configs-nginx/blob/master/ngi...
Re:Battle-ready Nginx – an optimization guide
by elithrar on Sunday November 17, 2013 @09:51AM
(#6749147)
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
by gprasanth on Sunday November 17, 2013 @11:22AM
(#6749504)
There 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...
Re:Battle-ready Nginx – an optimization guide
by sbarre on Sunday November 17, 2013 @10:09AM
(#6749211)
This post was worth it just for me to discover that this exists! Thank you!
Re:Battle-ready Nginx – an optimization guide
by rb2e on Sunday November 17, 2013 @10:36AM
(#6749311)
I 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.
Re:Battle-ready Nginx – an optimization guide
by youngtaff on Sunday November 17, 2013 @09:51AM
(#6749143)
Not 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.
Re:Battle-ready Nginx – an optimization guide
by cs02rm0 on Sunday November 17, 2013 @10:13AM
(#6749226)
>> 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. ;-)
Re:Battle-ready Nginx – an optimization guide
by tszming on Sunday November 17, 2013 @10:27AM
(#6749276)
No 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
[2] Why `gzip_disable` is removed: https://github.com/h5bp/server-configs/issues/145
Re:Battle-ready Nginx – an optimization guide
by leeoniya on Sunday November 17, 2013 @12:06PM
(#6749652)
additionally, better for security: https://gist.github.com/plentz/6737338
Re:Battle-ready Nginx – an optimization guide
by porker on Sunday November 17, 2013 @05:32PM
(#6751329)
Thank you! Do you know of any equivalent for Apache?
Re:Battle-ready Nginx – an optimization guide
by wildmXranat on Sunday November 17, 2013 @12:08PM
(#6749666)
Interesting stuff. Thanks for posting it