Tags
#nginx-guide
Nginx for Laravel with PHP-FPM: production config, permissions and queues
Deploy Laravel on Nginx and PHP-FPM: a complete HTTPS config pointing at public, permissions for storage, the optimize and queue steps, and the errors you may see.
Intermediate · 3 min read
Nginx for a React or Vite single-page app: routes, caching and an API proxy
Serve a React, Vue or Vite single-page app with Nginx: fix 404s on refresh with try_files, cache hashed assets, avoid caching index.html, and proxy /api to your backend.
Beginner · 3 min read
Nginx and Gunicorn for Django: production config, static files and HTTPS
Deploy Django with Gunicorn behind Nginx: a complete HTTPS config, a socket with systemd, static and media files, the settings you need behind a proxy, and common errors.
Intermediate · 3 min read
Nginx reverse proxy with Docker Compose: in a container or on the host
Put Nginx in front of Docker Compose services: on the host or in a container, connect by service name, fix "host not found in upstream", keep ports private, add HTTPS.
Intermediate · 3 min read
Nginx reverse proxy for FastAPI and Uvicorn, with HTTPS and WebSockets
Run FastAPI behind Nginx: a complete HTTPS config, Uvicorn in a systemd service, proxy headers for the real client IP, a subpath, WebSockets, and common errors.
Intermediate · 3 min read
Nginx reverse proxy for Ghost: HTTPS, the url setting and redirect loops
Put Nginx in front of a Ghost blog: a complete HTTPS config, the url setting, X-Forwarded-Proto to avoid redirect loops, upload limits, Docker Compose, and common errors.
Beginner · 3 min read
Nginx for Next.js: a production config with HTTPS, caching and standalone builds
Run Next.js behind Nginx: a complete config with HTTPS and long caching for _next/static, the standalone build, a systemd service, and the errors people run into.
Intermediate · 3 min read
Nginx reverse proxy for Node.js and Express, with HTTPS and WebSockets
Set up Nginx in front of a Node.js or Express app: a complete config with HTTPS and WebSockets, a systemd service, trust proxy for real client IPs, and common errors.
Beginner · 3 min read
Nginx for WordPress with PHP-FPM: a complete, safe config
Run WordPress on Nginx and PHP-FPM: a complete HTTPS config, pretty permalinks, blocking PHP in uploads, upload limits, caching and the common errors, step by step.
Intermediate · 3 min read