Posts

Moving WordPress redirects to nginx

We have pretty cool json from WordPress redirect table and we need move this action to nginx.

Merging and Deploying Let’s Encrypt Certificates with Salt

Easy way to merge two files on the fly. The storage backend can be any supported by SaltStack.

Latest Ruby on Debian 8 with Multi‑Site

Setting up a Middleman client API container with Ruby and systemd, plus Nginx configuration for proxying requests.

Salt (SaltStack) dynamic inventory

Salt (SaltStack Inc.) is a powerful automation tool that I’ve been using for many years. This post shows an example of agent‑less usage with salt-ssh , using a dynamic inventory via a roster and an Ansible inventory plugin.

HAProxy in Front of InfluxDB

We have Telegraf sending stats to two InfluxDB servers, but our dashboard should point to only one. Additionally, Nagios monitors InfluxDB health. Here’s how we can combine a script, xinetd, and HAProxy to manage this.

Routing Part of an Application to a New Version with HAProxy

Sometimes you need to roll out only part of an application to production. This often happens after refactoring or when introducing a new version of specific endpoints. With HAProxy you can route only selected requests to the new backend while keeping the rest of the traffic on the existing servers.

Mass redirect using Haproxy map file

During application upgrades or migrations it’s common to keep old URLs working for backward compatibility. One simple way to handle large numbers of redirects in HAProxy is to use a map file. If you are using Nginx, you can find a similar approach here: Nginx .