Deploying TLS Termination via Nginx Reverse Proxy for Apache Tomcat

Environment and Nginx Installation Assume a CentOS 7 environment targeting Nginx 1.18+. Begin by configuring the official package repository and installing the binary. Ensure the http_ssl_module is compiled into the binary, as it is mandatory for TLS termination. # Install repository management utility yum install -y yum-utils # Create reposit ...

Posted on Thu, 06 Aug 2026 16:53:03 +0000 by zenon

:"Nginx Configuration Patterns for High-Performance Web Services"

Core Concepts and Architecture Nginx is a high-performance HTTP server and reverse proxy developed by Igor Sysoev. It efficiently handles concurrent connections and serves as a reliable alternative to traditional web servers under heavy load. Beyond web serving, it functions as an IMAP/POP3/SMTP proxy, making it a versatile tool for modern infr ...

Posted on Sat, 01 Aug 2026 16:07:38 +0000 by mezise

Forward and Reverse Proxy Patterns with Load Distribution

Forward Proxy Architecture A forward proxy acts as an intermediary for client devices seeking to access external resources. Positioned between internal users and destination servers, this architecture prevents direct communication between the client and target endpoints. Operational Mechanics: The proxy server receives outbound requests from i ...

Posted on Wed, 29 Jul 2026 16:59:30 +0000 by adammc

Understanding Nginx Proxy Pass Behavior with Trailing Slashes

Proxy Pass Configuration Examples When configuring Nginx as a reverse proxy, the behavior of the proxy_pass directive can vary depending on the presence of a trailing slash in the URL. Example 1: Proxy Pass with Trailing Slash location ^~ /abc/ { proxy_pass http://192.168.1.1:8080/; } A request to http://www.a.com/abc/a.html will be forwa ...

Posted on Wed, 10 Jun 2026 17:28:34 +0000 by Aus

Nginx Location Directive Matching Rules and Web Server Configuration

Event Block Optimization events { worker_connections 4096; use epoll; accept_mutex on; multi_accept on; } The worker_connections parameter sets the upper limit of simultaneous connections each worker process handles. The theoretical maximum client capacity equals worker_processes × worker_connections, though actual limits depen ...

Posted on Wed, 20 May 2026 04:05:52 +0000 by laserlight

Establishing TCP/UDP Tunnels with FRP for Internal Network Access

Overview FRP (Fast Reverse Proxy) is a lightweight, open-source reverse proxy tool designed to expose local services behind NATs or firewalls to the public internet. It supports multiple protocols including TCP, UDP, and HTTP, enabling flexible tunneling scenarios such as remote administration, service forwarding, and internal network reconnais ...

Posted on Sun, 17 May 2026 06:45:10 +0000 by TheCase

Nginx Reverse Proxy Configuration for Common Services

Consul Web UI Proxy Setup location ~ ^/ui { auth_basic "Authentication Required"; auth_basic_user_file /etc/nginx/passwd.db; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://localhost:8500; } Kibena Dashbo ...

Posted on Wed, 13 May 2026 23:41:48 +0000 by sherri

Setting Up an Nginx Reverse Proxy Load Balancing Cluster on CentOS 7

Three CentOS 7 virtual machines are used to build a basic Nginx reverse proxy load balancing cluster: 192.168.2.76: Nginx load balancer 192.168.2.82: Web server (web01) 192.168.2.78: Web server (web02) Install Nginx on All Nodes Install required dependencies: yum -y install openssl openssl-devel pcre pcre-devel gcc wget Create the installati ...

Posted on Sun, 10 May 2026 00:00:43 +0000 by Grim...

Nginx Load-Balancing Algorithms and Reverse-Proxy Best Practices

Enviroment Role IP Address LB 10.240.35.55 web1 10.240.35.56 web2 10.240.35.57 web3 10.240.35.58 Basic Round-Robin Load-Balancer upstream backend_pool { server 10.240.35.56:80; server 10.240.35.57:80; server 10.240.35.58:80; } server { listen 80; server_name www.demo.com; location / { proxy_pass ...

Posted on Sat, 09 May 2026 23:02:59 +0000 by bbristow