PickSkill
← Back

Nginx Gen

Generate nginx configs from plain English. Use when you need reverse proxy, SSL, or load balancing setup.

README.md
Rendered from GitHub raw
View raw ↗

ai-nginx

Stop googling nginx config snippets and copy-pasting from StackOverflow. Just describe what you want in plain English.

Install

npm install -g ai-nginx

Usage

# Reverse proxy with SSL
npx ai-nginx "reverse proxy port 3000 with SSL and rate limiting"
 
# Static site
npx ai-nginx "serve static files from /var/www/html with caching"
 
# Save to file
npx ai-nginx "load balance between 3 node servers" -o nginx.conf

Setup

Set your OpenAI API key:

export OPENAI_API_KEY=your-key-here

Options

  • -o, --output <file> - Write the config to a file

License

MIT