浏览 771
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).
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), Node.js support, Python (Django) server, etc.
Matt (IPv4) Cowley <me@mattcowley.co.uk> (https://mattcowley.co.uk)
Bálint Szekeres <balint@szekeres.me> (https://balint.szekeres.me)
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 & sass-lint)
npm test
Analyze production bundle size & composition
npm run analyze
Build for production (to the dist
directory)
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
)Give a
Copyright © 2020 DigitalOcean, Inc <contact@digitalocean.com> (https://www.digitalocean.com).
This project is licensed under the MIT license.
按点赞数排序
按时间排序