digitalocean / nginxconfig.io
βοΈ NGINX config generator on steroids π
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing digitalocean/nginxconfig.io in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
Preview⨠NGINX Config
NGINX is so much more than just a webserver. You already knew that, probably.
We love NGINX, because:
- Low memory usage
- High concurrency
- Asynchronous event-driven architecture
- Load balancing
- Reverse proxying
- FastCGI support with caching (PHP)
- Amazing fast handling of static files
- TLS/SSL with SNI
A lot of features with corresponding configuration directives. You can deep dive into the NGINX documentation right now OR you can use this tool to check how NGINX works, observe how your inputs are affecting the output, and generate the best config for your specific use-case (in parallel you can also still use the docs).
π Usage
GOTO do.co/nginxconfig
Features: HTTPS, HTTP/2, IPv6, certbot, HSTS, security headers, SSL profiles, OCSP resolvers, caching, gzip, brotli, fallback routing, reverse proxy, www/non-www redirect, CDN, PHP (TCP/socket, WordPress, Drupal, Magento, Joomla), Node.js support, Python (Django) server, etc.
π¨βπ» Author
Rewrite & Maintenance
Matt (IPv4) Cowley <me@mattcowley.co.uk> (https://mattcowley.co.uk)
- GitHub: @MattIPv4
Original version
BΓ‘lint Szekeres <balint@szekeres.me> (https://balint.szekeres.me)
βΆοΈ Development
-
Clone the repository
git clone https://github.com/digitalocean/nginxconfig.io.git -
Install NPM packages
npm ci -
Run the development server (with file watchers)
npm run dev -
Open the development site localhost:8080
-
Lint your code (eslint & stylelint)
npm test -
Build for production (to the
distdirectory)npm run build
π€ Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
βοΈ Built With
- Vue.js - Template handling & app generation
- Bulma - Base styling, customised by do-bulma
- Prism - Bash & NGINX syntax highlighting
π Resources
- Mozilla SSL Configuration Generator v5
- Mozilla SSL Configuration Generator
- OWASP TLS Cipher String Cheat Sheet
- Nginx Optimization: understanding sendfile, tcp_nodelay and tcp_nopush
- NGINX Tuning For Best Performance
- Hardening Your HTTP Security Headers
- h5bp/server-configs-nginx
- Diffie-Hellman DSA-like parameters
- hstspreload.org
- Optimal value for nginx worker_connections
βοΈ Show your support
Give a βοΈ if this project helped you!
π License
Copyright Β© 2020 DigitalOcean, Inc <contact@digitalocean.com> (https://www.digitalocean.com). <br /> This project is licensed under the MIT license.
