Browsing Category
Nginx
76 posts
Master Nginx Networking with our comprehensive learning resources. From fundamental concepts to advanced configurations, our tutorials and practical examples will guide you through every step. Dive into load balancing, reverse proxying, and secure connections, gaining the skills needed for high-performance web server setups. Start your Nginx Networking journey today and optimize your web infrastructure for seamless user experiences.
How to Rotate Nginx Log Files
A few years ago, I got paged at 2 AM because a production server had run out of…
How to Log Nginx Access and Error Logs
Logs are the first place I look whenever something goes wrong on a server — a spike in…
How to Set Up Nginx with WebSockets
The first time I tried to proxy a WebSocket connection through Nginx, it silently failed in the most…
How to Implement Rate Limiting in Nginx
I first got serious about rate limiting after watching a client’s login endpoint get hammered by a credential-stuffing…
How to Monitor Nginx with Prometheus and Grafana
For a long time, my approach to Nginx monitoring was reactive: something breaks, I SSH in, I grep…
How to Secure Nginx with ModSecurity
Rate limiting and HTTP auth solve certain classes of problems, but neither of them does anything against a…
How to Configure Nginx with FastCGI Cache
Somewhere around the third time I watched a WordPress site fall over during a traffic spike — despite…
How to Cache Static Content in Nginx
If there’s one change I recommend to almost every client running a web server, it’s this: cache your…
How to Set Up Nginx as a Load Balancer
The first time I set up Nginx as a load balancer, it was because a client’s single application…
How to Configure Nginx to Serve Static Files
Serving static files is the most fundamental thing Nginx does, and it’s also where I see the most…