A simple yeoman generator for creating nginx config files that utilize FastCGI cache, gzipping, and other helpful settings. Made specifically for sites hosted on Laravel Forge.
First, install Yeoman and generator-forge-nginx-fastcgicache using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-forge-nginx-fastcgicache
Then generate your new project:
yo forge-nginx-fastcgicache
MIT
Special thanks to Andrew Welch at nystudio107 for the boilerplate, instruction, and inspiration. Forge Nginx Example | Static Page Caching with Craft CMS