Best of Nginx — 2025

  1. 1
    Article
    Avatar of last9Last9·1y

    Nginx Logging: A Complete Guide for Beginners

    Learn how to effectively set up, manage, and optimize Nginx logging for better debugging, monitoring, and performance insights. This guide covers log locations by OS, customizing log locations, log formats, techniques for better log analysis, log rotation management, solving common logging issues, and advanced logging configurations like JSON logging, conditional logging, and logging to Syslog.

  2. 2
    Article
    Avatar of medium_jsMedium·51w

    How server actually works?

    NGINX serves as a powerful web server and reverse proxy that handles three critical functions: load balancing (distributing traffic across multiple servers using methods like round robin and least connections), caching (storing frequently requested content for faster delivery), and security (encrypting communications and hiding backend infrastructure). The article explains how these features work together to keep websites fast and reliable, using real-world analogies like restaurant kitchens and nightclub bouncers to make complex concepts accessible to beginners.

  3. 3
    Article
    Avatar of laraveldevLaravel Dev·46w

    Nginx vs Caddy Performance 😮

    A performance comparison between Nginx and Caddy web servers reveals surprising results that could impact server architecture decisions for PHP and Laravel applications. The benchmark results were unexpected and may influence how developers choose between these web servers for their projects.

  4. 4
    Article
    Avatar of systemdesignnewsSystem Design Newsletter·45w

    Forward Proxy vs Reverse Proxy ✨

    Forward proxies sit between clients and the internet, filtering requests and providing anonymity, while reverse proxies sit between the internet and servers, handling load balancing, security, and caching. Forward proxies require client configuration and are commonly used in corporate networks for access control, whereas reverse proxies are transparent to clients and provide server-side benefits like TLS termination, DDoS protection, and traffic distribution across multiple servers.

  5. 5
    Article
    Avatar of communityCommunity Picks·1y

    Code snippet organizer for pros

    A detailed guide on setting up a Rails application on a DigitalOcean droplet using Ubuntu 16.04. The guide covers the creation of a non-root Rails user, adding swap space, installing and configuring NGINX, ElasticSearch, RVM, Rails, and Postgres. Additionally, it includes steps for deploying with Capistrano and securing the server with Let's Encrypt.

  6. 6
    Article
    Avatar of tdsTowards Data Science·1y

    Designing, Building & Deploying an AI Chat App from Scratch (Part 1)

    Learn how to design, build, and deploy an AI-powered chat application from scratch with a focus on modern, scalable web applications. This guide covers microservices architecture, setting up various backend services with Docker containers, building REST APIs with FastAPI, and creating a simple user interface. Key components include a language model API, PostgreSQL database, private Docker network, and Nginx reverse proxy. The project emphasizes engineering and cloud deployment over using commercial platforms, providing a deeper understanding of real-world systems.

  7. 7
    Article
    Avatar of last9Last9·1y

    HAProxy vs NGINX Performance: A Comprehensive Analysis

    Choosing between HAProxy and NGINX for load balancing is critical for system reliability and performance. HAProxy is designed specifically for load balancing with an event-driven model, while NGINX evolved from a web server to include load balancing. HAProxy excels in connection management, higher connection concurrency, and memory efficiency under high loads, making it suitable for microservices and environments with unpredictable traffic spikes. NGINX performs better at lower concurrency levels, content delivery, and SSL processing. Detailed metrics, configuration strategies, and optimization guidelines are provided for both solutions to help in decision-making and performance tuning.

  8. 8
    Article
    Avatar of milanjovanovicMilan Jovanović·51w

    YARP vs Nginx - A Quick Performance Comparison

    A performance comparison between YARP and Nginx reverse proxies using identical test conditions shows YARP significantly outperforming Nginx with 3.6x higher throughput (36,662 vs 10,169 RPS at 200 users) and much lower latency (7.77ms vs 21.23ms p90). The test used a simple .NET API with k6 load testing across different user loads. YARP demonstrated better scalability and integration within .NET ecosystems, while Nginx performance remained relatively flat across all test scenarios.

  9. 9
    Article
    Avatar of cloudflareCloudflare·34w

    Cloudflare just got faster and more secure, powered by Rust

    Cloudflare has replaced their core NGINX-based proxy system (FL1) with a new Rust-based modular proxy (FL2) built on their Oxy framework. The migration delivers a 25% performance boost with 10ms faster median response times, uses less than half the CPU and memory, and provides better security through Rust's memory safety guarantees. The new modular architecture allows faster product development, graceful restarts without dropping connections, and eliminates the incremental performance cost of adding new features that plagued the legacy system.

  10. 10
    Article
    Avatar of last9Last9·1y

    How to Effectively Monitor Nginx and Prevent Downtime

    Monitoring Nginx is critical to ensuring its performance and stability. Key metrics include traffic, connection metrics, performance metrics, and system resource utilization. Tools like Prometheus, Grafana, and built-in Nginx modules help track these metrics. Effective monitoring minimizes downtime and improves the incident response. Choosing the right tool and setting up alerts for critical events are essential steps towards maintaining a high-performing, reliable Nginx deployment.

  11. 11
    Article
    Avatar of telerikTelerik·51w

    Deploying Angular Apps with NGINX and Docker

    A comprehensive guide covering how to containerize Angular applications using Docker and serve them with NGINX. The tutorial walks through creating an Angular project, building it for production, configuring NGINX for static file serving and client-side routing, creating a multi-stage Dockerfile, and running the containerized application locally. It also discusses the differences between local Docker setup and full production deployment requirements.

  12. 12
    Article
    Avatar of rubylaRUBYLAND·22w

    Passenger 6.1.1

    Passenger 6.1.1 application server has been released with support for Ubuntu 25.10, improved Ruby 4 compatibility, and a critical bug fix for Nginx uploads. The bug affected requests with buffering disabled where request bodies larger than client_body_buffer_size would become corrupted. The release also upgrades Boost to 1.90, updates Nginx to 1.28.0, and includes numerous library updates in precompiled binaries including OpenSSL 3.6.0, curl 8.17.0, and Ruby versions up to 3.4.8.

  13. 13
    Video
    Avatar of devopstoolboxDevOps Toolbox·26w

    Wait... Nginx can do WHAT?!

    Nginx is far more than a web server—it's a versatile infrastructure tool serving 33% of the internet. Beyond basic web serving, it functions as a reverse proxy, load balancer, API gateway, content cache, SSL terminator, and media streamer. The guide demonstrates practical configurations including proxy pass setups, caching strategies with 10-minute TTLs, gzip compression achieving 30x size reduction, round-robin load balancing across multiple backends, and rate limiting. Load testing confirms it handles 10,000 requests per second with minimal errors. Available in Docker images as small as 12MB (Alpine Slim), Nginx remains the most deployed technology in Docker containers, with additional tools like Nginx UI providing visual dashboards for configuration and monitoring.

  14. 14
    Article
    Avatar of hnHacker News·36w

    Native ACME Support Comes to NGINX

    NGINX now includes native ACME protocol support through the ngx_http_acme module, enabling automatic SSL certificate management from Let's Encrypt without third-party tools. This built-in functionality, implemented in memory-safe Rust, joins other web servers like Traefik, Caddy, and Apache in providing seamless certificate automation, reducing operational overhead for developers and system administrators.

  15. 15
    Article
    Avatar of newstackThe New Stack·35w

    How To Deploy a Full-Stack, Containerized Network Infrastructure Visualizer

    Atlas is a Docker-based network infrastructure visualizer that deploys in under two minutes and automatically maps all devices on your network. Built with Go, FastAPI, NGINX, and React, it scans Docker containers and local subnets to detect devices, retrieve OS fingerprints, MAC addresses, and open ports. The tool provides an interactive web dashboard on port 8888 for real-time network topology visualization and monitoring.

  16. 16
    Article
    Avatar of bytebytegoByteByteGo·22w

    EP194: Evolution of HTTP

    HTTP has evolved from HTTP/0.9's simple GET requests to HTTP/3's UDP-based QUIC protocol, improving performance through persistent connections, multiplexing, and reduced latency. Key system performance metrics include QPS (queries per second), TPS (transactions per second), concurrency, and response time, with the relationship QPS = Concurrency ÷ Average Response Time. Nginx gained popularity over Apache through its event-driven architecture, serving as a high-performance web server, reverse proxy, load balancer, and caching layer. Essential network debugging commands include ping, traceroute, ss, dig, tcpdump, and iperf3 for diagnosing connectivity and performance issues. Network devices operate at different OSI layers: hubs broadcast at Layer 1, switches forward frames using MAC addresses at Layer 2, and routers direct packets using IP addresses at Layer 3.

  17. 17
    Article
    Avatar of last9Last9·44w

    Monitor Nginx with OpenTelemetry Tracing

    Learn how to instrument NGINX with OpenTelemetry to capture distributed traces across your entire request path. The guide covers a 5-minute Docker setup using the official nginx:1.25-otel image, production configuration patterns with conditional sampling, and integration with the OpenTelemetry Collector. It includes performance benchmarks showing minimal overhead (0.8% CPU, 3MB memory), Kubernetes deployment patterns, and advanced techniques for correlating logs with traces. The setup enables end-to-end visibility from NGINX through backend services to databases, helping identify bottlenecks in seconds rather than hours.

  18. 18
    Article
    Avatar of freecodecampfreeCodeCamp·48w

    How to Choose a Web Application Firewall for Web Security

    Web Application Firewalls (WAFs) act as specialized security layers that filter malicious traffic targeting web applications, protecting against SQL injection, XSS attacks, and bot traffic. Five major WAF solutions are compared: Cloudflare offers easy deployment with free tier options, Imperva provides enterprise-grade features with compliance support, SafeLine delivers self-hosted control with semantic detection, Fortinet FortiWeb integrates with existing security ecosystems, and F5 Advanced WAF offers comprehensive protection for complex multi-cloud environments. The choice depends on factors like technical expertise, budget, compliance requirements, and existing infrastructure.

  19. 19
    Video
    Avatar of lawrencesystemsLawrence Systems·1y

    Self-Hosted SSL Simplified: Nginx Proxy Manager

    Looking for an easy way to manage certificates for self-hosted web applications? This tutorial guides you through setting up Nginx Proxy Manager with Docker, emphasizing the importance of DNS configuration. It provides example setups and tips on using wildcard SSL certificates for your applications, making the process straightforward and efficient.