nginxconfig.io README

The project's README from github.com/digitalocean/nginxconfig.io. As one markdown file: 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:

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 <[email protected]> (https://mattcowley.co.uk)

Original version

Bálint Szekeres <[email protected]> (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

📚 Resources

⭐️ Show your support

Give a ⭐️ if this project helped you!

📝 License

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

nginxconfig.io (digitalocean/nginxconfig.io)

Searching Database…

这是什么东西?这是 DigitalOcean 推出的一个免费在线 NGINX 配置生成器:你选择服务器需要什么,它就会为你的使用场景生成一份调优好的配置。
它是我访问的网站,还是要装到服务器上的东西?它是一个网站——在浏览器里打开 do.co/nginxconfig,边回答问题它就边生成配置。你什么都不用安装;只有开发这个工具本身时才需要动代码。
我可以自己在本地跑这个生成器,而不用它的托管网站吗?可以——它是一个 Vue.js 应用:克隆仓库,运行 npm install,然后 npm run dev 会在 localhost:8080 提供服务,npm run build 则会把静态构建产物输出到 dist 目录。
用它需要注册 DigitalOcean 账号吗?不需要。这是一个公开的网站——README 里没提到需要账号、登录或 API 密钥;直接打开,描述你的配置就行。
它能帮我处理 Let's Encrypt 证书吗?能——certbot 支持是它列出的功能之一,所以生成的配置可以在 HTTPS、HSTS 和 SSL 配置选项之外,一并包含 certbot 的设置。
这个项目还在维护吗?看起来挺活跃:仓库没有被归档,大约有 28,000 颗星,重写版有活跃的维护者(MattIPv4),背后还有 DigitalOcean 支持。
Size
9.3 MB
Stars
28.3K
Updated
CommitOct 04
Age
8y
Commits · 90 Days