NGINX and PHP-FPM. What my permissions should be?

by Danila Vershinin, July 13, 2020

Proper file permissions and ownership model for NGINX / PHP-FPM powered websites. The secure chmod and shown setup


CentOS/RHEL 8: how to build the kernel RPM with native CPU optimizations

by Danila Vershinin, June 20, 2020

How to build kernel RPM packages with native CPU optimizations, for fun and profit, *and* performance


How to log and fix slow PHP requests

by Danila Vershinin, June 5, 2020

How to troubleshot slow PHP requests using PHP-FPM slow log facility. Common reasons for a slow PHP request and ways to fix it


NGINX Security Headers, the right way

by Danila Vershinin, May 31, 2020

How to add NGINX security headers without configuration pitfalls and in a consistent way that will make your website safe for visitors


Do not run pip as root

by Danila Vershinin, May 28, 2020

Why you should never run pip as root and what to do instead. How to install PyPi Python apps in a safe way, using pip-safe


Magento and ElasticSearch? How about Sphinx!

by Danila Vershinin, May 15, 2020

How to set up Magento 2 with the fast and efficient Sphinx search engine for a better memory and CPU footprint of your installation


Install NGINX RTMP module in CentOS/RHEL or Amazon Linux

by Danila Vershinin, April 22, 2020

How to install and enable NGINX RTMP module in CentOS/RHEL or Amazon Linux. Quick instructions to empower your NGINX with streaming capabilities


How to fix ‘Consumer “async.operations.all” skipped as required connection “amqp” is not configured. Unknown connection name amqp’ in Magento 2

by Danila Vershinin, April 20, 2020

How to fix ‘Consumer “async.operations.all” skipped as required connection “amqp” is not configured. Unknown connection name amqp’ in Magento 2


Magento 2: same-server deployment with reduced downtime

by Danila Vershinin, April 19, 2020

Earlier we described how you can reduce Magento 2 “deployment downtime” by using CircleCI workflow. If you’re feeling a little less serious and lazy to implement all those moving parts, here’s a same-server workflow for you. It’s also useful for development. Often times, you have a complete/easy-to-restore-backup of your website, and you just want to […]


Fixing DNF annoyances in CentOS/RHEL: usability or bandwidth. Choose your destiny

by Danila Vershinin, April 17, 2020

How to fix DNF metadata refresh bug using dnf-makecache and changes to dnf.conf. Make package installs fast again with a simple tweak