NGINX Extended

I was lucky enough that in relatively early time in my career I bet on NGINX as my default HTTP server and essentially never looked back. Sure enough, I started with using it as reverse-proxy in front of Apache, but once it matured enough and I felt confident it can be trusted with essentially any HTTP-related task, I switched entirely. It was a long time ago and NGINX has made some tremendous progress since then. While its adoption didn’t exceed Apache so far, it’s in the second place for quite some time now and growing in numbers each month. I was always fond of it being so lightweight and I preferred usage of FastCGI protocol instead of native/built-in one as it was the case with Apache at that time.

The caveat is that, while being Open Source application, there are some functionalities that are available only for the paying customers (NGINX Plus). I don’t mind this kind of business model. After all, this is a great application and I hope it will stay around for years to come and the only way to achieve that goal is to keep it sustainable, financially-wise. On the other hand, I’m not able to afford NGINX Plus subscription model (especially for private use-case like mine). Fortunately enough, there are some NGINX enthusiasts out there that are creating 3rd party modules for their favourite HTTP server. Quite a few of them.

Read more “NGINX Extended”

Multipass 0.6.0 →

There are so many ways these days to start a local VM on the Mac that adding yet another one seems insane. And yet, Multipass from Canonical1 appeals to me the most. Especially when it’s just a quick check that I need to make — it’s as simple as two commands and voilà, it’s working and ready to roll.

With the new version I really am looking forward for starting automatically the instance via multipass shell command — it’s safe to say that it was the only thing I was missing.

Please note that Multipass works solely with Ubuntu instances. It is cross-platform however and one can use it on Windows, macOS and Linux.

Rsyslog to Elasticsearch

Last time I mentioned that I was working on a central syslog. Part of the task was also possibility to easily go through the logs, preferably with some filtering and what not. ELK-stack is usually the first thing mentioned as a potential solution. Essentially the goal is to land your logs in Elasticsearch. The problem with both of these solutions is on the processing part. With Logstash things can go very wrong very quickly and there’s only handful of other things than _grokparsefailure that can seriously put me into rage mode.

Read more “Rsyslog to Elasticsearch”

Nginx logging to syslog

Recently I’ve been tasked with creating a central syslog server. These are very useful when one maintain couple of boxes (or couple hundred and more) as it can provide a single point of checking out on what’s up with the machines. If it’s combined properly with metrics it serves as a super-boosting way of maintaining the overview of the entire infrastructure.

When it comes to nginx, it defaults to storing log files in plain text. It’s a sane default and I don’t see a good reason to ship it in any other fashion. However, sometimes the needs change. It was the case for me — I’m using rsyslog1 for all of the OS logs and it felt natural to me to have nginx invited to join the party. As rsyslog client is pushing all of its logs further to the centralized server part already, I wanted to have nginx logs included in the stream.

Read more “Nginx logging to syslog”

mas 1.6.2 →

Majority of time I spend on my Mac, I do it in terminal1. The more I can get away without switching to anything else, the better. MAS2 is one of these nifty little utilities that simply makes your life that much easier. While it’s quite mature software already and there’s not that much excitement in the latest release, I’m using it as opportunity to spread the word as not everyone is aware of this little bugger.3



After years of using Ghost, last month I got back to WordPress as my blogging platform. Overall, that was the right choice to make, long overdue really. Using something that is pretty much a standard for running blogs these days makes things a lot easier. Additionally, unlike many others, I’m not allergic to Gutenberg changes that were introduced with version 5 — they’re OK, work for me. Here’s a quick list of things that changed in last ~2 months:

Read more “Status”