NGINX is so much more than just a webserver. You already knew that, probably.
We love NGINX, because:
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, generate the best config for your specific use-case (and in parallel you can still use the docs).
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), Node.js support, Python (Django) server, etc.
Matt (IPv4) Cowley <email@example.com> (https://mattcowley.co.uk)
Bálint Szekeres <firstname.lastname@example.org> (https://balint.szekeres.me)
Clone the repository
git clone https://github.com/digitalocean/nginxconfig.io.git
Install NPM packages
Run the development server (with file watchers)
npm run dev
Open the development site localhost:8080
Lint your code (eslint & sass-lint)
Analyze production bundle size & composition
npm run analyze
Build for production (to the
npm run build
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.
git checkout -b feature/AmazingFeature)
git commit -m 'Add some AmazingFeature')
git push origin feature/AmazingFeature)
Copyright © 2020 DigitalOcean, Inc <email@example.com> (https://www.digitalocean.com).
This project is licensed under the MIT license.