mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
gixy-next: match the page title with the command (#20689)
This commit is contained in:
@@ -1,29 +1,28 @@
|
||||
# gixy-next
|
||||
|
||||
> Analyze NGINX configuration files for security and performance misconfigurations.
|
||||
> An actively maintained fork of `gixy`.
|
||||
> More information: <https://gixy.io/usage/>.
|
||||
|
||||
- Analyze `nginx` configuration (default path: `/etc/nginx/nginx.conf`):
|
||||
|
||||
`gixy {{path/to/nginx.conf}}`
|
||||
`gixy-next {{path/to/nginx.conf}}`
|
||||
|
||||
- Analyze a rendered configuration dump via `stdin` (`-`):
|
||||
|
||||
`cat {{path/to/nginx-dump.conf}} | gixy -`
|
||||
`cat {{path/to/nginx-dump.conf}} | gixy-next -`
|
||||
|
||||
- Run only specific checks (comma-separated):
|
||||
|
||||
`gixy --tests {{http_splitting,ssrf,version_disclosure}} {{path/to/nginx.conf}}`
|
||||
`gixy-next --tests {{http_splitting,ssrf,version_disclosure}} {{path/to/nginx.conf}}`
|
||||
|
||||
- Skip specific checks (comma-separated):
|
||||
|
||||
`gixy --skips {{low_keepalive_requests,worker_rlimit_nofile_vs_connections}} {{path/to/nginx.conf}}`
|
||||
`gixy-next --skips {{low_keepalive_requests,worker_rlimit_nofile_vs_connections}} {{path/to/nginx.conf}}`
|
||||
|
||||
- Only report issues at a given severity or higher:
|
||||
|
||||
`gixy {{-l|-ll|-lll}} {{path/to/nginx.conf}}`
|
||||
`gixy-next {{-l|-ll|-lll}} {{path/to/nginx.conf}}`
|
||||
|
||||
- Output as uncolored text or machine-readable JSON:
|
||||
|
||||
`gixy {{[-f|--format]}} {{text|json}} {{path/to/nginx.conf}}`
|
||||
`gixy-next {{[-f|--format]}} {{text|json}} {{path/to/nginx.conf}}`
|
||||
|
||||
Reference in New Issue
Block a user