Posts

Moving WordPress redirects to nginx

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

Merge and deploy letsencrypt certs with salt

Easy way merge two files on the fly. Storage can be any from list of salt supported.

Latest Ruby on Debian 8 with multi-site

Short notes, how to configure Ruby on Debian 8 and store Slate (helps you create beautiful, intelligent, responsive API documentation)

Salt (SaltStack) dynamic inventory

Salt (SaltStack inc.) pretty cool tools for automation with I use many years. Here example of agent-less (salt-ssh) usage with dynamic inventory (roster and Ansible inventory plugin).

Haproxy before InfluxDB

What we have: Telegraf with send stats to two influxdb servers and dashboard with we need point to only one server. Also we have Nagios as InfluxDB health monitoring.

Forwarding part of application to new version with Haproxy

Sometimes you need roll out part of application (after code refactoring, as example) to prod. Here pretty easy way how to do it with Haproxy

Mass redirect using Haproxy map file

After some migration between applications versions you need to keep backward compatibility. Here example of easy way how to redirect lot of links to new location for Haproxy.  (example for Nginx )