Nginx 配置文件生成器
253 次浏览
更新于 2020-11-01 20:04

授权协议:MIT license
原作者联系方式:Matt Cowley <me@mattcowley.co.uk>
功能说明:生成nginx配置文件工具。
  • 内容介绍

 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, generate the best config for your specific use-case (and in parallel you can 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), 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 & sass-lint)

    npm test
  6. Analyze production bundle size & composition

    npm run analyze
  7. 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.


发表评论
提交者

皮皮鲁

暂无个人介绍

  • 27

    文章

  • 19

    关注

  • 21

    粉丝

版权所有©F5 Networks,Inc.保留所有权利。京ICP备16013763号-5