nginx.ccWeb 服务器排障台

致谢与开源许可

nginx.cc 借鉴和使用了下面这些项目与资料,感谢作者们。

nginxconfig.io

MIT License · Copyright (c) 2020 DigitalOcean

配置生成器的分文件结构(security / general / letsencrypt / proxy / php_fastcgi 片段)、Let's Encrypt webroot 位置、WordPress 与 Drupal 加固思路、Cloudflare 日志格式和真实 IP 预设、请求方法限制、Node/Django 预设。0.13 起的「完整模式」(/gen/pro)逐项对标它的全部选项,参数名与其分享链接相同,配置块结构改编自其生成器(含 nginx wiki 的 Forwarded map);过时写法换成了现代等价物(OCSP 默认关并提示、listen … quic、http2 on、Permissions-Policy、strict-origin-when-cross-origin、X-XSS-Protection: 0、插件目录安全模式),上游的几处错误已修正,详见仓库内 PARITY.md。

Mozilla Server Side TLS

MPL-2.0

Modern / Intermediate 档位取自 guidelines 6.0,Old 档位取自 5.7(6.0 已移除)。

Cloudflare IP ranges

公开列表

「站点在 Cloudflare 后面」选项里的 set_real_ip_from 列表(2026-11-13 获取)。

各 CMS 官方文档

见各页面来源链接

伪静态规则逐条标注了来源(官方文档 / 官方仓库 / 社区)。

nginxconfig.io — MIT License

MIT License

Copyright (c) 2020 DigitalOcean

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NGINX 是 F5, Inc. 的商标。nginx.cc 是非官方站点,与 F5、NGINX 项目和 DigitalOcean 均无关联。