Observable Nginx

a gitops template for nginx with observability built in.

Table of contents

This is a bit of a follow up to my other post on testing NGINX configs locally. I’ll expand on how I’ve been updating, testing, deploying, and monitoring our reverse proxies and static sites at work. I’ve actually been running this at work for around 6 months now but finally got around to simplifying the setup and open sourcing it!

What’s the point?

Up until I set this up at work, we were manually editing configs on our NGINX servers with vi (or nano if you didn’t have a CS professor Stockholm syndrome you into vim), hitting it with a quick nginx -t to validate our config changes, then a nginx -s reload to apply our changes.

While this has served us well and technically works, it’s far from a perfect setup. Here’s just a few issues you can run into editing things manually:

There are quite a few more issues, but those are the big issues I was looking to address.

The gitops part

The repo uses a bunch of tools to get a proper gitops flow going:

The observability part

We use a Grafana stack at work for observability so I added on a bunch of config to meet those needs:

Loading search…

Navigation

Social

Search posts, books, and commands. Press Esc to close.