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

Comprehensive Docker Setup and Usage Guide

Installing Docker on Linux curl -fsSL https://get.docker.com | sudo bash If the installation complains about missing dependencies: sudo apt-get -f install Granting Non-root Access sudo usermod -aG docker $USER newgrp docker Verify the daemon is reachable: docker info Speeding Up Pulls with a Mirror Create or edit /etc/docker/daemon.json: { ...

Posted on Mon, 18 May 2026 08:00:41 +0000 by sellfisch

Installing Zabbix from Source Code

1. Zabbix Server Installation First, install the required dependencies for compiling Zabbix from source: yum install libxml2-devel net-snmp-devel libevent-devel curl-devel pcre* mariadb-devel php-fpm Configure and compile Zabbix with the necessary options: ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent \ --enable-pro ...

Posted on Sun, 17 May 2026 23:54:46 +0000 by paul_so40