Deploying and Best Practices with Alibaba Cloud

With this How-To I want to talk about Best Practices using Alibaba Cloud (阿里云) deploying a new website/webapp to their infrastructure, also covering the implementation of the maintenance. The article is going to focus on the deployment from a pure DevOps perspective, as Alibaba Cloud (阿里云) is a platform with all the potential for you to […]


Docker Image cleaning easy automation with cron

Docker makes it easy to ship your applications and services in containers so you can run them anywhere. The more you work with Docker it’s also easy to accumulate a huge number of unused images, containers, and data volumes in your filesystem that clutter the output and consume a lot of precious disk space. Docker, […]



Reverse proxy with Caddy on WordPress with SSL & Docker

WordPress uses the is_ssl() function to determine if SSL is being used in the server. In order to do this, it uses $_SERVER[‘HTTPS’] and $_SERVER[‘SERVER_PORT’] to check if they are set. The problem when you use a reverse proxy, like in almost all the installations I run, is that Apache serves the content in HTTP trough […]



.htaccess basic configuration

Here I will explain a basic configuration of a ‘.htaccess‘. This file is a directory-level configuration file supported by several web servers, that allows for decentralized management of web server configuration. It’s more secure to edit the ‘.htaccess‘ than que ‘http.conf‘. With this file you can configure a lot of things in Apache, but the […]


Correct file & folder permissions for WordPress

Some plugin desapeared to your WordPress installation? Some hacked thing? No problem, if you fix the file permissions on your files you will harden your site.   Fixing ‘.htaccess‘ & ‘wp-admin/index.php‘ First of all, we must verify the permissions of ‘.htaccess‘ and ‘wp-admin/index.php‘. They cannot be writable except for the user. The correct permission for […]