Configuring Nginx fastcgi_cache for Separate Mobile and Desktop Caching in WordPress

The fastcgi_cache module enables Nginx-level page caching, effectively improving website concurrency, reducing PHP execution time and request response latency. This module serves cached content directly from Nginx without involving PHP or WordPress, delivering significant performance gains for sites without third-party advertisements. Most tuto ...

Posted on Fri, 23 Oct 2026 16:20:15 +0000 by jrottman

Build and Install Nginx from Source on CentOS 7

Prerequisites Ensure the system is running CentOS 7.6 and you intend to install Nginx 1.17.7. Install Build Dependencies First, install the necessary compliation tools and librraies required for the Nginx build process: yum -y install gcc gcc-c++ automake make yum -y install pcre-devel zlib-devel openssl-devel gd-devel \ libxml2-devel libxs ...

Posted on Fri, 23 Oct 2026 16:12:42 +0000 by Vince

Deploying Web Applications with uWSGI and Nginx

uWSGI serves as the application server for running web applications, while Nginx acts as a reverse proxy and static file server. uWSGI Configuration Create a uwsgi.ini file in the same directory as manage.py with the following configuration: [uwsgi] socket=127.0.0.1:8000 chmod-socket=666 chdir=/path/to/your/project wsgi-file=project/wsgi.py pro ...

Posted on Thu, 22 Oct 2026 16:32:08 +0000 by rocksolidhq

Docker-Based Python Service Deployment with Nginx Load Balancing

Project Overview This guide demonstrates how to deploy a Python web service using Docker with Nginx for load balencing. The example includes MySQL and Redis dependencies, along with instructions for disabling load balancing if not needed. Project Structure 1. Dockerfile # Base image for the application FROM python:3.7 # Set working directory i ...

Posted on Thu, 22 Oct 2026 16:12:34 +0000 by brianbehrens

OpenResty Installation and Configuration Guide

OpenResty Versions and Variants Several Nginx-based web server implementations are available: OpenResty: An enhanced distribution of Nginx with LuaJIT integration (recommended) Nginx Plus: Commercial version with additional enterprise features Tengine: A fork of Nginx developed by Alibaba Installing OpenResty on Linux This guide uses CentOS 7 ...

Posted on Fri, 16 Oct 2026 16:45:57 +0000 by Crowly

Nginx Overview and Configuration Guide

1. Introduction to Nginx Nginx is a lightweight web server and reverse proxy server that also provides IMAP/POP3/SMTP services. It is suitable for various scenarios due to its low memory footprint, fast startup, and excellent concurrency handling capabilities. Nginx is widely used in internet projects and can handle up to 50,000 concurrent conn ...

Posted on Fri, 16 Oct 2026 16:12:27 +0000 by blackhorse

Building a Self-Hosted Image Hosting Service with Nginx on Ubuntu

Setting Up Nginx for Image Storage on Ubuntu Installing Nginx sudo apt update && sudo apt install nginx Creating the Storage Directory sudo mkdir -p /var/www/images/blog sudo chmod -R 777 /var/www/images/blog Nginx Configuration Edit the configuration file at /etc/nginx/sites-available/default: server { listen 80; server_name ...

Posted on Wed, 14 Oct 2026 16:48:27 +0000 by krabople

Implementing WebSocket Communication: nginx Proxy and Java Backend Configuration

This guide covers the complete WebSocket implementation workflow using Java, including nginx reverse proxy configuration and Spring Cloud Gateway routing setup. The implementation handles connection management, message communication, and proper proxy forwarding for WebSocket protocols. nginx Configuration The nginx configuration establishes an ...

Posted on Tue, 13 Oct 2026 16:54:10 +0000 by carrotcake1029

Deploying Roundcube Webmail with Nginx and PHP-FPM

PHP-FPM Process Configuration Align the PHP processor execution context with the mail system user. Modify the pool configuration file, typically located at /etc/opt/remi/php83/php-fpm.d/www.conf, to ensure permissions match the mail storage owner. user = vmail group = vmail listen.acl_users = vmail listen = /run/php-fpm/roundcube.sock listen.ow ...

Posted on Wed, 07 Oct 2026 16:55:50 +0000 by jikishlove

Eliminating Conflicting CORS Headers When Using nginx with ASP.NET Core

When an ASP.NET Core application runs behind nginx acting as a reverse proxy, duplicate CORS headers may appear in the HTTP response. Browsers reject such responses because the Access-Control-Allow-Origin header must appear at most once. A typical browser error looks like this: Access to XMLHttpRequest at 'http://10.0.0.5:8080/api/auth' from or ...

Posted on Wed, 07 Oct 2026 16:33:40 +0000 by dr bung