Production-Ready Deployment of a Django-Vue Full-Stack Application on CentOS
Server Hardening and Initial Setup
Before deploying any application, secure the underlying infrastructure. Configure cloud provider security groups to restrict inbound traffic strictly to required ports: SSH (22), HTTP (80), and HTTPS (443). Avoid exposing all ports via 0.0.0.0/0 in production—tighten rules to specific IPs or ranges where possi ...
Posted on Sun, 14 Jun 2026 16:32:49 +0000 by gethinw
Setting Up Free HTTPS Certificates with Let's Encrypt
Let's Encrypt provides a free, automated, and open certificate authority service operated by the Internet Security Research Group (ISRG), a California-based nonprofit organization. The project is backed by major companies including Mozilla, Cisco, Akamai, Electronic Frontier Foundation, and Google Chrome, and has grown rapidly since its launch. ...
Posted on Fri, 12 Jun 2026 17:23:51 +0000 by christine75
Nginx IP Whitelist Configuration Methods
Basic IP Whitelist Configuration
To restrict access to specific IP addresses while allowing local connections:
allow 100.110.15.16;
allow 100.110.15.17;
allow 100.110.15.18;
allow 127.0.0.1;
deny all;
IP-Based Access Redirection
Method 1: Direct IP Comparison
Redirect specific client IP addresses using the $remote_addr variable:
if ($remote_ad ...
Posted on Fri, 12 Jun 2026 16:31:19 +0000 by KoshNaranek
Serving Django Admin Static Assets in Production Mode
When DEBUG is disabled in Django, the framework stops serving static files automatically. This causes the admin itnerface to render without CSS and JavaScript. To resolve this, you must configure a dedicated web server to handle these assets.
Begin by updating your Django settigns:
# config/settings.py
import os
from pathlib import Path
BASE_D ...
Posted on Fri, 12 Jun 2026 16:24:43 +0000 by alexanae
Optimizing Python API Services for High-Concurrency Load Balancing
Modern web applications frequently face surges in request volume—such as during flash sales, live events, or viral content spikes—making resilient, scalable API infrastructure esential. While Python offers rapid development and rich ecosystem support, its runtime characteristics (e.g., the GIL) and default synchronous I/O model can hinder throu ...
Posted on Thu, 11 Jun 2026 16:28:41 +0000 by strangermaster
High-Performance Web Server with Nginx: Compilation, Installation, and Smooth Upgrade
Introduction to Nginx
Installation Methods
I/O Models and Zero-Copy Technology
Process Architecture
Configuration Optimization
Smooth Upgrade Procedures
Introduction to Nginx
Nginx is a high-performance web server developed in 2002 by Russian engineers for Rambler.ru. Acquired by F5 in 2019 for $670M, it's used by major interne ...
Posted on Wed, 10 Jun 2026 18:58:09 +0000 by rahulephp
Understanding Nginx Proxy Pass Behavior with Trailing Slashes
Proxy Pass Configuration Examples
When configuring Nginx as a reverse proxy, the behavior of the proxy_pass directive can vary depending on the presence of a trailing slash in the URL.
Example 1: Proxy Pass with Trailing Slash
location ^~ /abc/ {
proxy_pass http://192.168.1.1:8080/;
}
A request to http://www.a.com/abc/a.html will be forwa ...
Posted on Wed, 10 Jun 2026 17:28:34 +0000 by Aus
Frontend-Backend Integration Strategies for Distributed Systems: Local, Staging, and Production Scenarios
Effective collaboration between frontend and backend services in distributed architectures requires careful configuration of request routing, especially when switching between local development, staging, and production environments. This guide outlines three common deployment scenarios using Vue.js, Spring Cloud Gateway, Kubernetes, and Nginx, ...
Posted on Wed, 10 Jun 2026 17:10:08 +0000 by BryonS
Automated PHP Deployment Pipeline with Jenkins and Kubernetes
Prerequisites
A functional Kubernetes cluster with Traefik installed as the ingress controller. Network File System (NFS) storage mounted across all nodes to ensure Jenkins configuration survives pod restarts. A private Docker registry accessible at 192.168.0.153:5000. The base environment uses an Alpine LNP stack (PHP 5.6.31 and Nginx 1.8.1) a ...
Posted on Tue, 09 Jun 2026 16:13:28 +0000 by chris1
Deploying Nginx High Availability with Keepalived on Huawei Cloud
Keepalived Fundamentals
Keepalived is an open-source software solution designed to monitor server health and manage failover scenarios. When a web node encounters downtime or errors, Keepalived automatically removes the affected node from the cluster and redistributes traffic to healthy servers. Once repairs are completed, the original node rej ...
Posted on Sat, 06 Jun 2026 17:23:54 +0000 by axman505