没有合适的资源?快使用搜索试试~ 我知道了~
nginx-linter
共51个文件
js:26个
conf:15个
json:3个
需积分: 7 0 下载量 99 浏览量
2021-04-29
21:17:00
上传
评论
收藏 76KB ZIP 举报
温馨提示
Nginx linter 用于验证样式和常见缺陷的nginx文件的命令行工具。 安装 要求 节点11+ 指示 您可以使用以下命令全局安装nginx-linter: npm install -g nginx-linter 用户指南 您可以运行nginx-linter,而无需进行任何如下配置: nginx-linter 默认情况下,这将验证/etc/nginx/下的配置文件。 对于所有选项,您可以使用--help : nginx-linter --help 内置规则 nginx-linter中有许多内置规则,它们既可以使您的nginx配置样式保持一致,又可以发现可能导致生产错误的常见陷阱。 if-is-evil 由于nginx配置是一种声明性语言而不是一种过程性语言,因此if指令具有许多,因此应谨慎使用或完全不使用。 此规则有两种模式可以使用: 始终-禁止使用if指令,无论它们是否
资源推荐
资源详情
资源评论
收起资源包目录
nginx-linter-master.zip (51个子文件)
nginx-linter-master
.eslintrc.yml 1KB
bin
nginx-linter.js 138B
_cli
index.js 69B
commands.js 6KB
options.js 2KB
package.json 933B
.github
workflows
main.yml 1KB
test
parser.spec.js 6KB
examples
if-is-evil.conf 1KB
strict-location.conf 310B
lua.conf 462B
location-order-complicated.conf 1KB
headers.conf 306B
nginx-linter.config.json 57B
newlines.conf 121B
nested-includes.conf 154B
location-order.conf 179B
simple.conf 117B
single-quotes.conf 121B
includes
more
three.conf 145B
one.conf 18B
two.conf 18B
five.conf 18B
four.conf 43B
rules
rule-strict-location.spec.js 2KB
rule-trailing-whitespace.spec.js 2KB
rule-if-is-evil.spec.js 3KB
rule-location-order.spec.js 5KB
rule-indentation.spec.js 3KB
rule-line-ending.spec.js 3KB
cli
options.spec.js 3KB
commands.spec.js 4KB
LICENSE 34KB
package-lock.json 122KB
.gitignore 37B
lib
index.js 69B
walker.js 1KB
rules
rule-strict-location.js 1KB
index.js 281B
rule-trailing-whitespace.js 594B
rule-line-ending.js 595B
rule-if-is-evil.js 2KB
rule-indentation.js 4KB
rule-location-order.js 4KB
validator.js 4KB
parser
index.js 2KB
include-visitor.js 730B
parser.js 4KB
README.md 3KB
etc
nginx-with-config.sh 153B
openresty-with-config.sh 196B
共 51 条
- 1
资源评论
Hsmiau
- 粉丝: 31
- 资源: 4653
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功