Skip to main content

WordPress Static Files Cookieless Domain with Nginx


by Danila Vershinin, October 3, 2017

Configure cookieless domain for Wordpress static files in nginx

Read More...

Troubleshoot memory issues on CentOS 7 web server


by Danila Vershinin, September 29, 2017

Current status of this article is open draft of sorts 🙂 Who knows will understand :p Sometimes I have to deal with alien servers. Those are servers which were initially setup not by me. Of course, I can install things properly and they couldn’t :). So I have to fix and fix whatever they have […]

Read More...

Stop Google Analytics SPAM bots and reduce server load


by Danila Vershinin, September 17, 2017

Reduce server load easily by configuring nginx to discard unknown hostnames. Fight those Google Analytics spam bots!

Read More...

PHP HTTP Caching: Complete Guide to Cache-Control Headers


by Danila Vershinin, September 16, 2017

Understanding PHP HTTP caching is essential for building fast, scalable web applications. PHP’s session handling automatically sends cache-related headers that can interfere with your caching strategy, while frameworks like WordPress add their own layer of complexity. This guide covers everything you need to know about PHP HTTP caching in PHP 8.x and how to properly […]

Read More...

Linode: why I love this VPS provider


by Danila Vershinin, September 14, 2017

Linode is my provider of choice for the following reasons.

Read More...

Fake Speed


by Danila Vershinin, September 12, 2017

My always up-to-date list of optimization fakers out there.

Read More...

Nginx: Disable logging of Magento security probes


by Danila Vershinin, August 8, 2017

Disable logging of Magento 1.x security probes in Nginx configuration. Uses map Nginx feature to conditionally log requests to Magento.

Read More...

How to Reset WordPress Password


by Danila Vershinin,

How to reset Wordpress password easily. Use either SQL queries in Phpmyadmin or MySQL terminal. Or use the excellent WP-CLI command line utility

Read More...

NGINX SELinux: Fix Permission Denied, 502, and Port Errors


by Danila Vershinin, August 7, 2017

Fix every common NGINX SELinux error: 502 bad gateway from proxy_pass, 403 forbidden on static files, port binding failures, and more. Complete boolean reference table, file context guide, and 11 real-world scenarios with verified one-liner fixes for RHEL, Rocky Linux, and AlmaLinux.

Read More...

MariaDB: replicate single database. Tutorial and gotchas


by Danila Vershinin, July 16, 2017

Setup MySQL slave replication with few easy steps. Some gotchas on MySQL replication lag and how to fix it.

Read More...