浏览 4.9k
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.gitInstall NPM packages
npm ciRun the development server (with file watchers)
npm run devOpen the development site localhost:8080
Lint your code (eslint & sass-lint)
npm testAnalyze production bundle size & composition
npm run analyzeBuild for production (to the dist directory)
npm run buildContributions 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.

按点赞数排序
按时间排序
微信公众号
加入微信群