Setting Up an LNMP Stack with Nginx, PHP, MySQL, and phpMyAdmin Using Docker Compose

Why Use Docker Compose? While its possible to manually run individual containers for Nginx, PHP, and MySQL, managing them becomes tedious when configuration changes are needed. Without an orchestration tool, updating a setting requires stopping the container, removing it, and running a new docker run command with the updated parameters. Docker ...

Posted on Sat, 06 Jun 2026 16:25:59 +0000 by R0CKY

Setting Up RTMP Streaming Server with Nginx for Live and On-Demand Video Services

Development Environment Ubuntu 14.04 server nginx-1.8.1 nginx-rtmp-module Installing Nginx Dependencies sudo apt-get update sudo apt-get install libpcre3 libpcre3-dev sudo apt-get install openssl libssl-dev Configuring and Compiling Nginx Use the default nginx configuration and incorporate the RTMP module: ./configure --add-module=../nginx-r ...

Posted on Thu, 04 Jun 2026 18:49:43 +0000 by direction

Using Reverse Proxy to Handle CORS Issues

Setting Up a Vue CLI 3 Project with Axios Create a new Vue project and install Axios: vue create test cd test npm install axios npm serve Adding a Page with a API Request Add a button to trigger a GET request to https://www.baidu.com/home/xman/data/tipspluslist: <template> <div class="hello"> <h1 @click="fet ...

Posted on Tue, 02 Jun 2026 16:57:55 +0000 by Birch

Enhancing Django Application Concurrency with uWSGI and Nginx

The default Django development server operates on a single thread, handling requests sequentially. This means a second request must wait for the first to complete before processing begins, leading to blocking behavior unsuitable for production workloads. To achieve high concurrency, a common approach involves deploying Django with uWSGI as the ...

Posted on Tue, 02 Jun 2026 16:37:47 +0000 by LostKID

Containerizing Nginx with Docker for Web Serving

Creating a Docker container for Nginx involves defining the container configuration and building an image. Begin by creating a Dockerfile in a new directory with the following instructions: FROM nginx:alpine # Optional: Replace default configuration with custom file COPY nginx.conf /etc/nginx/nginx.conf # Optional: Add static content to defau ...

Posted on Mon, 01 Jun 2026 16:35:48 +0000 by beemzet

Building Middleware Docker Images: PHP-FPM with Nginx

Having established a base CentOS 7 image, the next step is to construct middleware images. This example demonstrates building a Docker image that integrates Nginx and PHP-FPM. The project structure is as follows: docker-training/ ├── centos7/ ├── mysql/ ├── php-fpm/ │ ├── Dockerfile │ ├── nginx_default.conf │ ├── nginx_nginx.conf │ ├── ...

Posted on Fri, 29 May 2026 22:51:44 +0000 by esscher

Automating API Documentation Deployment with apidoc and Nginx

Overview Maintaining API documentation can be a repetitive task. Using apidoc, you can generate documentation directly from comments within your source code. This approach is non-intrusive and supports multiple languages including Java, Python, Go, PHP, and JavaScript. By integrating it with version control and a web server, you can ensure that ...

Posted on Thu, 28 May 2026 22:10:41 +0000 by wdallman

Mastering Zabbix: Comprehensive Deployment, Agent Management, and Advanced Monitoring Architectures

System Baseline & Environment Hardening Before deploying the monitoring stack, ensure the operating environment meets minimum requirements and security baselines. Synchronize system clocks, disable interference services, and verify network reachability. # Verify release version and kernel architecture cat /etc/redhat-release uname -r # Tem ...

Posted on Thu, 28 May 2026 22:01:40 +0000 by camdenite

Deploying a Containerized Nginx and PHP-FPM Stack on CentOS 7

Host System RequirementsTarget Operating System: CentOS 7.xMinimum Resources: 4GB RAMInstalling the Docker EngineFirst, update the system repositories and remove any obsolete Docker versions:sudo yum update -y sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ ...

Posted on Wed, 20 May 2026 16:24:58 +0000 by jrobles

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