Tagged articles
uwsgi
17 articles · Page 1 of 1
After moving an application to a PaaS platform, intermittent 502 errors occur due to Nginx’s retry behavior, HTTP/1.1 connection reuse, and a mismatch between Ingress and uwsgi protocols, which can be diagnosed through error statistics and packet capture.
502Ingresstroubleshooting
0 likes · 6 min read

This tutorial walks beginners through deploying a Django application on a fresh Linux server using the BT (BaoTa) panel, covering security‑group port opening, software installation, Python environment setup, uWSGI and Nginx configuration, static file handling, and common troubleshooting steps.
BT PanelDjangoPython
0 likes · 10 min read

After moving an application to a PaaS platform, intermittent 502 errors appear mainly on POST requests; the article analyzes Nginx retry behavior, Ingress‑uwsgi protocol mismatches, packet‑capture findings, and provides a configuration fix to resolve the issue.
502 errorHTTP versionIngress
0 likes · 6 min read

This article details the design, architecture, key technologies, and deployment of Xiaosi, an AI‑powered intelligent customer service chatbot built on the internal IM platform, highlighting its problem‑diagnosis accuracy, manpower savings, adapter mechanism, high‑availability backend, and practical use cases.
AI chatbotBackendDjango
0 likes · 13 min read

This article explains the origins, principles, and interactions of CGI, FastCGI, PHP‑FPM, WSGI, uWSGI, and ASGI, detailing how they enable dynamic Python web applications to communicate with web servers such as Nginx and Apache while addressing performance and concurrency concerns.
ASGICGIPython
0 likes · 17 min read

After moving an application to a PaaS platform, intermittent 502 errors occur, seemingly only for POST requests, but the root cause lies in Nginx‑Ingress and uwsgi HTTP version mismatches, connection reuse, and retry behavior, which can be diagnosed through traffic analysis and configuration changes.
502 errorHTTP version mismatchIngress
0 likes · 6 min read

After migrating to a PaaS platform, intermittent 502 errors appeared on both GET and POST requests, and a detailed analysis of Nginx retry behavior, Ingress HTTP version settings, and uWSGI incompatibility reveals the root cause and a configuration fix.
502 errorIngressKubernetes
0 likes · 6 min read

This guide walks through setting up a CentOS 7 server, creating a non‑root user, installing Python 3, MySQL, and required packages, configuring a Django project, and deploying it with uWSGI behind Nginx for production use.
CentOSDjangoNGINX
0 likes · 8 min read

This guide walks you through creating a Django project, configuring uWSGI and an INI file, setting up Nginx as a reverse proxy, enabling HTTPS with SSL certificates, collecting static files, and scaling the deployment for high availability, all with clear command‑line examples.
DjangoHTTPSPython
0 likes · 6 min read

Learn how to achieve zero‑downtime application upgrades by using Gunicorn’s HUP reload, uWSGI’s chained reload, load‑balancer node draining, and custom health‑check scripts that coordinate process restarts, ensuring minimal service interruption even for apps with long startup times.
Gunicorndeploymentload balancer
0 likes · 7 min read

This guide explains how to achieve rolling, zero‑downtime restarts for Python web services by leveraging Gunicorn and uWSGI reload mechanisms, load‑balancer tricks, and custom health‑check scripts that keep traffic flowing even when applications take up to a minute to start.
GunicornPythonZero-Downtime Deployment
0 likes · 8 min read

This article explains the key web‑server interfaces and deployment tools for Python—including CGI, FastCGI, WSGI, uWSGI, Gunicorn, and Tornado—so developers can choose the right protocol and server architecture for production environments.
CGIGunicornPython
0 likes · 13 min read

An in‑depth guide explains the evolution from CGI to FastCGI, WSGI, uWSGI, Gunicorn and Tornado, detailing each protocol’s architecture, performance benefits, and deployment steps for Python web applications, helping developers choose the right server setup for production environments.
CGIGunicornPython
0 likes · 13 min read

This article compares Python web deployment options, explaining the concepts and workflows of CGI, FastCGI, WSGI, uWSGI, Gunicorn, Tornado, and related tools, and offers guidance on selecting the appropriate server and protocol for production environments.
CGIGunicornWSGI
0 likes · 14 min read

This article explains the key server interfaces and deployment options for Python web applications—including CGI, FastCGI, WSGI, uWSGI, Gunicorn, and Tornado—detailing their architectures, workflows, and practical usage with Nginx and process managers.
CGIGunicornWSGI
0 likes · 15 min read

This guide walks you through why Django and VueJS make a powerful pairing, explains their integration, and provides step‑by‑step instructions for setting up the project, configuring templates and static files, handling development and production environments, and deploying with uWSGI and Nginx.
DjangoFrontend-Backend IntegrationNGINX
0 likes · 14 min read

This article walks through fixing missing static files, collecting assets, restarting uWSGI, and applying essential Django settings and template tweaks to successfully deploy a Django application in a production environment using Nginx and uWSGI.
NGINXPythonWeb
0 likes · 4 min read
