mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
966 B
Plaintext
34 lines
966 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# gixy-next
|
|
|
|
> Analyze NGINX configuration files for security and performance misconfigurations.
|
|
> More information: <https://gixy.io/usage/>.
|
|
|
|
- Analyze `nginx` configuration (default path: `/etc/nginx/nginx.conf`):
|
|
|
|
`gixy-next {{path/to/nginx.conf}}`
|
|
|
|
- Analyze a rendered configuration dump via `stdin` (`-`):
|
|
|
|
`cat {{path/to/nginx-dump.conf}} | gixy-next -`
|
|
|
|
- Run only specific checks (comma-separated):
|
|
|
|
`gixy-next --tests {{http_splitting,ssrf,version_disclosure}} {{path/to/nginx.conf}}`
|
|
|
|
- Skip specific checks (comma-separated):
|
|
|
|
`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-next {{-l|-ll|-lll}} {{path/to/nginx.conf}}`
|
|
|
|
- Output as uncolored text or machine-readable JSON:
|
|
|
|
`gixy-next {{[-f|--format]}} {{text|json}} {{path/to/nginx.conf}}`
|