Best of Nginx2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    Server Setup Basics

    Setting up a robust server includes steps like configuring secure SSH login, creating non-root users, setting up NGINX, managing logs, and securing network ports with UFW and Fail2Ban. Additionally, best practices for backups and choosing the right tools for server management are emphasized. The use of tools like Btop, Neoss, GoAccess, MC, and NCDU is recommended for improving server management efficiency.

  2. 2
    Article
    Avatar of devtoDEV·2y

    SSL in localhost takes 5 seconds now.

    Setting up SSL for localhost traditionally requires tedious manual configurations and repetitive steps. However, Ophiuchi simplifies the process by automatically generating certificates, updating the hosts file, providing an integrated web server, and ensuring instant trust. It saves time and allows developers to focus on building great software.

  3. 3
    Video
    Avatar of techworldwithnanaTechWorld with Nana·2y

    Full NGINX Tutorial - Demo Project with Node.js, Docker

    Learn NGINX fundamentals and how to configure it as a reverse proxy for a Node.js application using Docker. This comprehensive guide covers step-by-step instructions on setting up multiple instances of a Dockerized application, configuring NGINX for load balancing, enabling HTTPS with SSL certificates, and the essential configurations to secure and optimize your web server. The tutorial also touches upon the importance of DevOps skills and introduces a complete DevOps educational program for further learning.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    NGINX for Backend Developers

    NGINX is a versatile and powerful open-source software used for web serving, reverse proxying, caching, load balancing, media streaming, and more. This course on NGINX provides a comprehensive guide to understanding and using NGINX, covering topics such as installation, terminology, serving static content, mime types, location context, rewrites and redirects, and using NGINX as a load balancer.

  5. 5
    Video
    Avatar of youtubeYouTube·2y

    NGINX Tutorial - What is Nginx

    NGINX is a versatile web server that offers functionalities like load balancing, caching, and enhanced security by acting as a proxy server. It can distribute incoming requests among multiple servers based on various algorithms, cache frequently accessed resources to improve efficiency, and consolidate security efforts by serving as the single entry point for web traffic. NGINX also supports encrypted communication and can compress large files to save bandwidth. It has become popular in container environments, especially as a Kubernetes Ingress controller.

  6. 6
    Article
    Avatar of hnHacker News·2y

    yunginnanet/HellPot: HellPot is a cross-platform portal to endless suffering meant to punish unruly HTTP bots.

    HellPot is a cross-platform honeypot designed to trap and punish rogue HTTP bots by sending them endless streams of data. Implemented in Go, it uses a toml configuration file, JSON logging, and offers substantial performance gains. When misconfigured or when bots ignore the standard `robots.txt`, HellPot subjects them to an eternity of useless data generated by a Markov engine. It has easy setup steps and integrates well with web servers like nginx and Apache.

  7. 7
    Article
    Avatar of devtoDEV·2y

    Deploy Your Node.js App in Minutes: Public IP + Nginx on Ubuntu ⚡

    Learn how to deploy a Node.js application on Ubuntu using Nginx as a reverse proxy with just your server's public IP address.

  8. 8
    Article
    Avatar of castaiCast AI·2y

    Traefik vs. NGINX: Comparison and Practical Guide

    Traefik and NGINX are prominent load balancers and reverse proxies that manage web traffic efficiently. Traefik, launched in 2016, is a cloud-native solution with features like auto-discovery and microservice support, while NGINX, a high-performance web server since 2004, offers reliability and flexibility. Traefik excels in dynamic, containerized environments with automatic configuration, whereas NGINX provides granular control and versatility. The choice between them depends on your specific needs, such as scalability, control, and integration requirements.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    How To Deploy a React Application with Nginx on Ubuntu

    Learn how to deploy a React application with Nginx on Ubuntu. Follow the tutorial to build and deploy a React app using Create React App.

  10. 10
    Video
    Avatar of youtubeYouTube·2y

    Proxy vs Reverse Proxy vs Load Balancer | Simply Explained

    Understand the differences between proxies, reverse proxies, and load balancers, and their importance in managing web traffic and security. Real-life analogies help explain their functions and why both cloud load balancers and reverse proxies are often used together for optimal performance and security. The key functionalities such as caching and SSL termination are discussed, alongside practical implementation in environments like Kubernetes.

  11. 11
    Article
    Avatar of hnHacker News·1y

    blackcandy-org/blackcandy: A self hosted music streaming server

    Black Candy is a self-hosted music streaming server that can be easily installed using Docker. It supports both SQLite and PostgreSQL databases, with SQLite being the default. Features include mounting media files, using environment variables for configuration, and logging control via Docker options. The server can also be proxied through Nginx for improved performance. Mobile apps are available for Android, and a demo can be accessed with limited privileges. Upgrading involves careful steps due to potential breaking changes in major versions.

  12. 12
    Video
    Avatar of communityCommunity Picks·2y

    NGINX Tutorial - What is Nginx

    NGINX is a versatile software used as a web server, load balancer, and proxy server. It handles large volumes of requests efficiently by distributing them across multiple servers. Key functionalities include load balancing, caching to save server resources, enhanced security measures, and compression of large files for bandwidth optimization. NGINX is also prominently used in container environments, such as Kubernetes, to manage inbound traffic with advanced load balancing. Its flexible configuration and efficiency have made it a popular choice over Apache in various applications.

  13. 13
    Article
    Avatar of communityCommunity Picks·2y

    Nginx concepts I wish I knew years ago

    Nginx is a web server that can be used as a reverse proxy, load balancer, mail proxy, and HTTP cache. It acts as a middleman between clients and backend servers. Nginx uses proxies and reverse proxies to handle requests. Load balancing is an instance of reverse proxy where the load of requests is distributed among multiple backend servers. Nginx can be easily installed and configured on various systems.

  14. 14
    Article
    Avatar of faunFaun·1y

    Migrating From NGINX to Envoy Proxy

    This guide provides a detailed explanation on how to migrate from NGINX to Envoy Proxy, including step-by-step instructions for configuring each component. It covers the main elements of NGINX configuration, such as server, logging, Gzip feature, and compares them with Envoy's counterparts like listeners, filters, routers, and clusters. The article explains how Envoy handles worker threads, load balancing, access and error logging, and how to run Envoy in a Docker container. At the end, it includes commands to test Envoy's proxy functionality with Docker.

  15. 15
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Secure Your Web Server with Continuous Integration Using NGINX and CircleCI

    Learn how to secure your web server using NGINX and CircleCI by implementing Continuous Integration (CI), configuring SSL/TLS encryption and security headers, creating a GitHub repository and CircleCI project, defining a CI pipeline, and verifying the deployment and security of your web server.

  16. 16
    Article
    Avatar of communityCommunity Picks·1y

    How Nginx Was Able to Support 1 Million Concurrent Connections on a Single Server ✨

    Nginx achieves high scalability by utilizing a master-worker model where workers handle client connections. Each worker is a separate process assigned to a CPU to minimize context switches and thread trashing. An event loop manages concurrent tasks asynchronously, aided by a thread pool for blocking tasks, and shared memory to efficiently manage cached data. This design enables Nginx to support up to 1 million concurrent connections efficiently.

  17. 17
    Article
    Avatar of lobstersLobsters·2y

    Replacing nginx with axum

    The post discusses the process of replacing an Nginx server with Axum, a Rust library for writing web services. The author shares code examples and explanations on how to handle tasks such as creating basic web services, serving static files, managing multiple subdomains, and setting up reverse proxying. Additionally, the post covers securing services with basic authentication and setting up TLS using rustls_acme. The author acknowledges that while this setup might be more complex than Nginx, it offers the advantage of leveraging Rust's full capabilities.

  18. 18
    Article
    Avatar of communityCommunity Picks·2y

    Wasn't Nginx Free?

    Maxim Dounin announces his departure from Nginx and the creation of a new fork called Freenginx due to interference with Nginx's security policy and corporate control. The post discusses the nuances of the situation and the open core model.

  19. 19
    Article
    Avatar of medium_jsMedium·2y

    The ultimate guide to cache-busting for React production applications

    Learn about cache-busting for React production applications and how to avoid errors when deploying new versions. Discover solutions such as adding meta elements to index.html, configuring caching with nginx, implementing retry policies for lazy loading, and more.

  20. 20
    Article
    Avatar of faunFaun·2y

    GeoIP lookups with Nginx

    Learn how to perform GeoIP lookups with Nginx using the http_geoip_module and MaxMind database. This guide walks through installing necessary packages, configuring Nginx, and integrating MaxMind data files for geographical validation of requests. It's a straightforward process that enhances your server's geo control capabilities.

  21. 21
    Article
    Avatar of newstackThe New Stack·2y

    Freenginx: A Fork of Nginx

    A Nginx developer, Maxim Dounin, is forking Nginx into Freenginx due to grievances with Ngnix corporate owner F5's management and security policies. Freenginx aims to be a free and open source project developed for the public good, independent of corporate control. Initial interest in Freenginx appears to be low, but it remains to be seen if the project will gain traction.

  22. 22
    Video
    Avatar of communityCommunity Picks·2y

    Implementing API Gateway Authentication With YARP + .NET 8