Docker Nginx Config Generator

•
45
•

Generates production-ready, optimized Nginx configurations for PHP-FPM Docker environments.

This Claude Code skill automates the creation of high-performance Nginx configurations specifically tailored for Dockerized PHP applications. It handles the complexities of setting up reverse proxies, fine-tuning worker processes, implementing security headers like CSP and XSS protection, and configuring framework-specific routing for Laravel and Symfony. By providing standardized, production-grade boilerplate, it ensures that your containerized web server is secure, efficient, and follows industry best practices for caching and compression out of the box.

Key Features

01Performance-tuned Gzip compression and static file caching
0245 GitHub stars
03Framework-aware server blocks for Laravel and Symfony
04Automated PHP-FPM upstream and health check endpoints
05Pre-configured security headers (HSTS, CSP, X-Frame-Options)
06Docker Compose service definition generation

Use Cases

01Hardening existing Nginx configurations with standardized security best practices
02Setting up a new Dockerized PHP project with optimized server settings
03Migrating Laravel or Symfony applications to containerized environments