Essential Docker Commands and Practical Usage Examples

Managing Docker Images The following commands allow you to work with Docker images. Replace image_name with the actual image name and container_name for container references. # Pull an image from a registry docker pull ubuntu:20.04 # List all locally available images docker images # Remove a specific image by name or ID docker rmi ubuntu:20.0 ...

Posted on Mon, 27 Jul 2026 16:51:05 +0000 by prcollin

Installing and Removing Nginx on CentOS 6.5 via YUM and Source Compilation

Installing Nginx with YUM Ensure the system repositories are up to date: yum update -y Installl Nginx directly from the EPEL repository (if not already enabled): yum install -y epel-release yum install -y nginx Enable and start the service: chkconfig nginx on service nginx start Allow HTTP traffic through the firewall: iptables -I INPUT -p t ...

Posted on Mon, 27 Jul 2026 16:01:11 +0000 by gateway69

Load Balancing with Nginx

Load Balancing Fundamentals Global Server Load Balancing (GSLB) GSLB operates across geographically distributed infrastructure with the following components: Global Coordinator: Oversees the entire traffic distribution system Regional Dispatcher: Manages traffic within a specific geographic area Application Controller: Routes requests to appro ...

Posted on Sun, 26 Jul 2026 16:08:27 +0000 by T Horton

Implementing Rate Limiting Controls in Nginx

Request rate limiting offers significant utility in Nginx environments, yet it frequently suffers from misconfiguration due to misunderstandings regarding its operation. This feature allows administrators to constrain the frequency of HTTP requests from specific clients within a defined timeframe. These constraints apply universally, whether ha ...

Posted on Sat, 25 Jul 2026 17:08:29 +0000 by warren

Leveraging Nginx for Reverse Proxying, Load Balancing, and Content Separation

Nginx functions as a reverse proxy by positioning itself infront of origin servers. It intercepts client requests, forwards them to the appropriate backend server, and returns the server's response to the client. This abstraction shields the client from the direct existence of the backend infrastructure. Load balancing is achieved using Nginx's ...

Posted on Sat, 25 Jul 2026 16:10:58 +0000 by Jezza

Configuring Client Request Logging in Nginx

Nginx provides a robust mechanism for tracking incoming client interactions through its access logging feature. Every HTTP or stream transaction is captured, enabling administrators to monitor traffic patterns, debug routing issues, and analyze usage metrics. The core directive responsible for this functionality is access_log. Directive Overvie ...

Posted on Fri, 24 Jul 2026 16:56:15 +0000 by joeami

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