lesterchan.net v4.4
A recap of lesterchan.net's evolution: now on HTTPS, running nginx, PHP-FPM, MariaDB, and HHVM, with search powered by Algolia. The v4.4 update lands alongside the WordPress 4.4 release, the last major WordPress release of 2015.
Running lesterchan.net on nginx, from the stack move to real-IP handling.
A recap of lesterchan.net's evolution: now on HTTPS, running nginx, PHP-FPM, MariaDB, and HHVM, with search powered by Algolia. The v4.4 update lands alongside the WordPress 4.4 release, the last major WordPress release of 2015.
At Tech in Asia, HAProxy load-balances requests across two nginx web servers, but since every request arrives from the balancer, nginx logs only its IP. HAProxy's forwardfor option forwards the original client IP, which nginx can then read and block.
My site averaged about 1,900ms response time on Pingdom, rising to 2,600ms after switching to HTTPS while still on Apache 2.4.7 with PHP 5.5.9 via mod_php. Moving to nginx 1.6.2 and PHP 5.5.22 via php-fpm brought it back to 1,900ms.