nginx

Why We Chose NGINX + HashiStack Over Kubernetes for Our Service Discovery Needs

Why We Chose NGINX + HashiStack Over Kubernetes for Our Service Discovery Needs

We recently switched from Kubernetes to Nomad to manage our infrastructure. At first, with two nodes and multiple services,we had a hard time getting the request routing to work reliably.In this post, I’ll walk through how we built an efficient and low-cost service discovery solution for our infrastructure—and why it could benefit others facing similar routing issues. Spoiler: You can achieve smooth results without needing NGINX Plus, thanks to NGINX’s robust features and the power of open-source modules. The Routing Problem: A Snapshot of Our Setup At the core of our infrastructure lies a typical setup: a browser making requests…
Read More
goaccess for nginx report

goaccess for nginx report

Ever wondering to read nginx access log as a report? Yeah, we can easily read the nginx log file using this command. tail -f /var/log/nginx/access.log Enter fullscreen mode Exit fullscreen mode But how about if we want to analyze the access.log file as a single report? I found goaccess can help to the rescue. So here is how I used this tool to generate a report. I used Ubuntu 22.04, so the commands may need to be adjusted for different OS. install goaccess sudo apt-get install goaccess Enter fullscreen mode Exit fullscreen mode Modify the config file to accept nginx…
Read More
Sherlock Holmes: The Case of the Content Length Mismatch

Sherlock Holmes: The Case of the Content Length Mismatch

Welcome to our Sherlock Holmes-inspired tech adventure Series! Imagine each technical challenge as a thrilling mystery waiting to be solved. Like Sherlock Holmes with his sharp eye for detail, I'll tackle the problem with wit and precision. Let's dive in and crack these cases together! Running a website smoothly is akin to maintaining a finely-tuned machine. Yet, like any mystery tale, unexpected twists can disrupt the flow. Recently, our team faced a perplexing error while serving our website: Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH in Chrome. Join us as we unravel this digital whodunit and uncover how we cracked the case,…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.