Comprehensive Guide to Nginx Web Service Architecture

HTTP Protocol Request and Response Process Perform a simple HTTP request to observe the process: curl -v www.baidu.com HTTP Request Message Request Line Request Method: GET (read/retrieve) or POST (write/submit) Request Resource: e.g., index.html, oldboy.jpg Protocol Version: HTTP/1.0 (short-lived TCP connections), HTTP/1.1 (persistent TCP ...

Posted on Fri, 24 Jul 2026 16:54:56 +0000 by rakuci

Server Operation Techniques

Using a PC as a proxy to access external networks from a server 1. Start a proxy on the PC, such as nginx Download nginx: http://nginx.org/en/download.html Modify the configuration file in the conf directory: http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; ...

Posted on Thu, 23 Jul 2026 16:27:35 +0000 by DaveTomneyUK

Nginx Configuration and Management Guide

Nginx Basics 1. Common Commands nginx -v # Show version ps -ef | grep nginx # List nginx processes nginx # Start nginx nginx -s reload # Reload configuration nginx -s stop # Stop nginx nginx -t # Test configuration f ...

Posted on Wed, 22 Jul 2026 16:27:50 +0000 by slayer22

Extract Nginx Logs by Date Range Using sed

When nginx access logs reach gigabyte scale, utilities like cat or tail become impractical for pinpointing traffic on a specific date. The sed stream editor processes text line-by-line using regular expressions, making it efficient for slicing large log files by timestamp ranges. Log Timestamp Structure A standard nginx access entry places the ...

Posted on Tue, 21 Jul 2026 17:08:10 +0000 by SUNNY ARSLAN

Nginx Web Caching Service Implementation Guide

Web caching operates between origin servers and client browsers. When users request a URL, the cache server fetches content from backend web servers. Subsequent identical requests are served directly from cache, eliminating redundant origin server queries. This architecture reduces database load, decreases network latency, improves response tim ...

Posted on Tue, 21 Jul 2026 16:49:54 +0000 by limitphp

Deploying HTTP Services on Kubernetes

This guide walks through deploying a containerized HTTP service on a Kubernetes cluster, covering container images, deployments, services, and ingres configuration. Building and Pushing the Container Image First, build the container image for your HTTP server and push it to a container registry. In this example, the image chengfengsunce/httpser ...

Posted on Mon, 20 Jul 2026 17:09:35 +0000 by billman

Building a Minimalist PHP 7 and Nginx Container Using Alpine Linux

Understanding Alpine Linux Alpine Linux is a security-oriented, lightweight distribution built around musl libc and busybox. Its designed to be minimal, with a standard installation footprint of approximately 120MB. This makes it an ideal base for containerized environments where resource efficiency is paramount. Benefits for Containerization W ...

Posted on Thu, 16 Jul 2026 17:00:42 +0000 by badt18

Building a Live Streaming Platform with Nginx, FFmpeg, and RTMP/HLS

Architectural Overview A live video broadcasting system comprises three fundamental components: a publishing endpoint, a media server, and playback clients. The publishing side uses FFmpeg for encoding and sending streams. The server layer employs Nginx enhanced with an RTMP module to ingest and distribute content. Viewer-side playback can be h ...

Posted on Sat, 11 Jul 2026 17:35:30 +0000 by fbm

Configuring Nginx fastcgi_cache for Separate Desktop and Mobile WordPress Caching on BaoTa

Nginx's fastcgi_cache module facilitates static page caching directly at the server level, bypassing PHP execution to drastically improve response times and concurrency. BaoTa panel ships with the ngx_cache_purge module pre-compiled, allowing immediate configuration without additional installations. To properly serve cached content, desktop and ...

Posted on Wed, 08 Jul 2026 17:45:13 +0000 by djopie

Nginx Concurrency Estimation and Load Testing

To estimate the maximum concurrant connections Nginx can handle, use the following formula: (Total RAM in GB × 1024 − System Overhead) / Average Request Size Total RAM in GB: Physical memory available on the server. System Overhead: Memory reserved for OS processes, background services, and buffer space (typically 2–4 GB). Average Request Si ...

Posted on Tue, 07 Jul 2026 17:28:46 +0000 by daniel_lee_hill