Web Server Reference

Configuration syntax and common directives

Quick Reference

These reference pages provide quick access to common configuration patterns for different server platforms. Each reference includes syntax examples and explains the most frequently used directives.

For detailed explanations and conceptual understanding, see the tutorials.

Nginx Event-Driven

Server Blocks

Virtual host configuration with server_name and listen directives.

Location Blocks

URL matching, prefix vs regex, and precedence rules.

Reverse Proxy

proxy_pass, upstream, and header forwarding.

SSL/TLS

Certificate configuration and secure cipher suites.

Static Files

root, alias, try_files, and caching headers.

Rewrites and Redirects

rewrite rules, return directives, and URL manipulation.

Apache MPM Models

Virtual Hosts

VirtualHost containers and name-based hosting.

.htaccess

Per-directory configuration and override options.

mod_rewrite

RewriteRule, RewriteCond, and URL transformation.

mod_proxy

ProxyPass, ProxyPassReverse, and load balancing.

SSL/TLS

mod_ssl configuration and certificate setup.

Directory Directives

Options, AllowOverride, and access control.

Node.js Programmatic

http Module

createServer, request/response objects, and event handling.

https Module

TLS options, certificate loading, and secure servers.

Manual Routing

URL parsing, method routing, and pattern matching.

Static File Serving

fs.createReadStream, MIME types, and caching headers.

HTTP Proxy

Forwarding requests to upstream servers.

Process Management

Clustering, graceful shutdown, and signal handling.