Page 3 of 3

Backing up OVH Public Cloud instances using snapshots

OVH Public Cloud platform is based on OpenStack software. As such, it has an API using which many procedures can be automated. Today I will be showing how to automatically create whole server backups using snapshots.

Read more →

Configuring Tunnel Broker BGP on Mikrotik

Hurricane Electric’s free service Tunnel Broker allows one to set-up 6to4 tunnels in order to get IPv6 connectivity to IPv4-only sites. In addition to “regular” tunnels, where they assign you a random prefix from their ranges, they also support BGP┬átunnels. Today I will show you how to set one up and configure it on a Mikrotik device.

Read more →

Postfix: Routing outgoing email based on sender domain

I was in a situation where I needed to implement a mail routing policy: Outgoing email from a specific domain gets routed through a relay (eg. Amazon SES) and all other goes directly.

Read more →

Compiling nginx with PageSpeed and naxsi

Today we are going to compile nginx web server with naxsi WAF (Web Application Firewall), Google PageSpeed modules and HTTP/2 support.

Read more →

Nginx reverse proxy with code injection

Using nginx as a reverse proxy is very easy to do and there are many guides on the internet on this topic. However there’s not a lot of content regarding modifying proxied data on-the-fly. Here’s how to do it

Read more →

Getting WordPress article thumbnails using SQL

I recently did a project where I needed to get post featured images from a WordPress site
using MySQL. Of course I wanted it to be efficient, which meant I had to do with
just a single SQL query to get the information I wanted.

Read more →