Caching Strategies and Redis Implementation
Understanding Caching Concepts
Buffer vs. Cache
buffer: Primarily used for write operations, acting as a write buffer.
cache: Primarily used for read operations, serving as a read cache.
Both address speed inconsistencies and involve I/O operations.
Key Cache Considerations
1. Storage location (multi-level cache):
Client-side (browser cach ...
Posted on Thu, 14 May 2026 03:41:58 +0000 by Axeia
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
Deploying LAMP with Nginx Proxy, Discuz, WordPress, and phpMyAdmin
Overview
This guide outlines a practical setup for deploying a multi-server LAMP environment with Nginx acting as a reverse proxy. It includes integration of Discuz, WordPress, and phpMyAdmin under separate domains, with enhenced Nginx configurations for caching, access control, logging, and security.
Infrastructure
Two CentOS 6 servers:
MySQ ...
Posted on Wed, 13 May 2026 18:20:30 +0000 by tarlejh
Installing and Configuring Nginx on CentOS Servers
Installing Dependencies
yum install openssl -y
yum install zlib -y
yum install pcre -y
Add the official Nginx repository:
rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
Installing Nginx
yum install nginx -y
Managing Nginx Service
systemctl start nginx # Start Nginx
systemctl restart ngi ...
Posted on Wed, 13 May 2026 07:39:36 +0000 by geo__
Installing Nginx on CentOS 7: Complete Step-by-Step Guide
Prerequisites Setup
Before installing Nginx, create a dedicated directory for the installation.
cd /usr/local/
mkdir nginx
cd nginx
Downloading Nginx
Navigate to the official Nginx website and download the desired version. Its recommended to use the stable release for production environments.
Uploading and Extracting
Transfer the Nginx archive ...
Posted on Wed, 13 May 2026 01:50:40 +0000 by nicholaspaul
Compiling and Installing Nginx from Source on Ubuntu 20.04
Prerequisites and Dependency Installation
Before compiling Nginx, ensure your system's package lists are up-to-date and install the necessary development libraries.
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential libpcre3 libpcre3-dev zlib1g-dev libssl-dev
build-essential: Includes essential tools for compi ...
Posted on Mon, 11 May 2026 09:38:43 +0000 by 121212
Deploying the Go-ChatGPT Service Stack with Docker Compose
Service Deployment Structure
The go-ChatGPT project relies on multiple middleware services. The deployment directory layout is shown below:
|-- chat-api
| |-- etc
| | `-- config.yaml
| `-- logs
|-- chat-rpc
| |-- etc
| | `-- config.yaml
| `-- logs
|-- docker-compose.yaml
|-- mysql
| `-- data
|-- nginx
| |-- conf
| | `-- ...
Posted on Mon, 11 May 2026 05:33:29 +0000 by Hilitec
Deploying Decoupled Web Applications on Linux Using Nginx
Environment Setup and Nginx CompilationBegin by installing the necessary compiler and development libraries required for Nginx to function properly, including support for SSL and regular expressions.yum install -y gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel
Extract the source archive and navigate into the directory. Execute th ...
Posted on Sun, 10 May 2026 23:03:15 +0000 by tomhath
Docker-Based NodeBB Community Forum Deployment Guide
Building a NodeBB Community Platform with Docker
Development Environment
Operating System: CentOS 7.6 64bit
Deployment Tool: docker
Database: MongoDB
Load Balancer: Nginx
1. Install and Configure Docker
Install required packages for Docker repository
yum install -y yum-utils device-mapper-persistent-data lvm2
Configure Alibaba Cloud mirror re ...
Posted on Sun, 10 May 2026 22:35:56 +0000 by harsh00008
Understanding Nginx Installation Directories and Compilation Parameters
Nginx Installation Directory Structure
To view all files installed by the Nginx package, execute the following command:
rpm -ql nginx
The output includes configuration files, log files, and executable binaries.
/etc/logrotate.d/nginx
Type: Configuration file
Purpose: Configures log rotation for Nginx using the logrotate service, enabling auto ...
Posted on Sun, 10 May 2026 22:26:22 +0000 by canadian_angel