⚙️ NGINX config generator on steroids 💉
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
dependabot[bot] dd290c0b70
Bump send and express (#487)
2 months ago
.github Add prettier and run prettier command via lint-staged (#448) 1 year ago
.husky Add Husky + lint-staged (#398) 2 years ago
src Enforce file extensions in imports to comply with ESM standards (#486) 2 months ago
test Enforce file extensions in imports to comply with ESM standards (#486) 2 months ago
.babelrc Add unit testing for browser language (#197) 4 years ago
.editorconfig Dedicated test workflow to run on PRs (#172) 4 years ago
.eslintrc.cjs Enforce file extensions in imports to comply with ESM standards (#486) 2 months ago
.gitignore Add Husky + lint-staged (#398) 2 years ago
.lintstagedrc.json Add prettier and run prettier command via lint-staged (#448) 1 year ago
.nvmrc Update to Node.js 20.9.0 (#453) 1 year ago
.prettierignore Add prettier and run prettier command via lint-staged (#448) 1 year ago
.prettierrc.json Add prettier and run prettier command via lint-staged (#448) 1 year ago
LICENSE MIT license 5 years ago
README.md Fix email link in readme (#450) 1 year ago
package-lock.json Bump send and express (#487) 2 months ago
package.json Enforce file extensions in imports to comply with ESM standards (#486) 2 months ago
vue.config.js Suppress logging with NODE_ENV (#332) 3 years ago

README.md

GitHub stars GitHub contributors MIT License
Closed issues Closed PR Open issues Open PR

nginxconfig

NGINX configuration generator on steroids 💉

The only tool you'll ever need to configure your NGINX server.
do.co/nginxconfig »

Report a bug · Request a feature


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)

Original version

Bálint Szekeres <balint@szekeres.me> (https://balint.szekeres.me)

Development

  1. Clone the repository

    git clone https://github.com/digitalocean/nginxconfig.io.git
    
  2. Install NPM packages

    npm ci
    
  3. Run the development server (with file watchers)

    npm run dev
    
  4. Open the development site localhost:8080

  5. Lint your code (eslint & stylelint)

    npm test
    
  6. Build for production (to the dist directory)

    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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. 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

Show your support

Give a if this project helped you!

📝 License

Copyright © 2020 DigitalOcean, Inc <contact@digitalocean.com> (https://www.digitalocean.com).
This project is licensed under the MIT license.