Building an Nginx Docker Image Using AlmaLinux
Creating the Base Image
This process builds an Nginx imagee from AlmaLinux:latest that automatically starts Nginx when containers launch.
Setting Up Files
mkdir ~/docker-nginx
cd ~/docker-nginx
echo 'Nginx operational' > index.html
Dockerfile Configuration
FROM almalinux:latest
RUN yum clean all && \
yum -y install epel-release ...
Posted on Sun, 17 May 2026 22:53:27 +0000 by stephaneey
Installing and Configuring NGINX with SSL on Red Hat Enterprise Linux
Prerequisites
Ensure you have root or sudo privileges on a Red Hat Enterprise Linux 9 or CentOS Stream system.
Configuring the NGINX Repository
Install the yum utilities package to manage repositories:
sudo dnf install -y yum-utils
Create the official NGINX repository configuration file:
sudo tee /etc/yum.repos.d/nginx.repo <<'EOF'
[ngin ...
Posted on Sun, 17 May 2026 11:32:36 +0000 by bodzan
Optimization Strategies and I/O Models for Apache and Nginx Web Servers
Understending I/O Models
In high-performance networking, the interaction between the application (A) and the system kernel (B) is defined by two primary dimensions: Synchronicity and Blocking behavior.
1. Synchronous vs. Asynchronous
Synchronous: The requesting program must actively query the status of a task. It remains responsible for checki ...
Posted on Sun, 17 May 2026 01:14:28 +0000 by slava_php
Keepalived High Availability Configuration and Testing
Virtual IP Configuration
virtual_ipaddress {
10.0.0.3/24 dev eth0 label eth0:1
}
track_script {
health_check
}
Failover Testing
[root@lb01 ~]# systemctl is-active nginx
active
[root@lb01 ~]# ip a | grep 0.3
inet 10.0.0.3/24 scope global secondary eth0:1
[root@lb01 ~]# systemctl stop nginx
[root@lb01 ~]# ip a | grep 0.3
# VIP migrated after ...
Posted on Sat, 16 May 2026 22:21:57 +0000 by BrianG
Deploying a Laravel Stack with Docker Compose
To establish a robust development environment for Laravel, we can orchestrate Nginx, PHP-FPM, MySQL, and Redis containers using Docker Compose. This approach ensures environment consistency and easy dependency management.
1. Project Structure and Configuration
Create a root directory for your project, such as /opt/laravel-app. Inside this direc ...
Posted on Fri, 15 May 2026 19:53:43 +0000 by rajivv
Live Streaming System Architecture for Academic Project
This document outlines the architecture and implementation details of a live streaming platform developed as an undergraduate graduation project.
1: Development Environment
Linux server configuration: debian10, gcc 10.2.1, php7.4.3, mysql 5.7.26, nginx1.15.11
Windows development environment: nginx1.15.11, php7.4.3, mysql 5.7.26 via XAMPP or sim ...
Posted on Thu, 14 May 2026 15:16:08 +0000 by fredcool
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__