Architect Chen
Architect Chen
Sep 21, 2025 · Backend Development

Mastering Nginx: Essential Directives, Server Blocks, and Performance Tweaks

This guide explains Nginx's core configuration concepts—including directives, contexts, server and location blocks—provides practical examples for setting up virtual hosts, reverse proxies, load balancing, SSL/TLS, gzip compression, and custom error pages, and offers performance‑optimisation tips for production environments.

SSLconfigurationserver block
0 likes · 8 min read
Mastering Nginx: Essential Directives, Server Blocks, and Performance Tweaks
Liangxu Linux
Liangxu Linux
Jan 5, 2022 · Backend Development

How to Set Up Multiple Nginx Virtual Hosts on a Single Server

This guide explains what virtual hosts are, how they work in Nginx, and provides step‑by‑step commands to create directory structures, test pages, server block configuration files, enable and disable sites, and verify the setup on a Linux server.

LinuxNginxVirtual Host
0 likes · 10 min read
How to Set Up Multiple Nginx Virtual Hosts on a Single Server
Open Source Linux
Open Source Linux
Mar 16, 2020 · Backend Development

Mastering Nginx: A Complete Guide to Configuration Files

This article walks you through the structure and key directives of Nginx configuration files, covering the global, events, HTTP, and server blocks, with clear explanations, code examples, and visual diagrams to help beginners configure and optimize their Nginx server.

BackendHTTPWeb server
0 likes · 6 min read
Mastering Nginx: A Complete Guide to Configuration Files