Skip to content

nginx

nginx configuration: security mistakes, and a configuration test in a container.

Check Stage Level What it does
nginx/gixy commit recommended Checks every nginx file for mistakes that expose a server: request forgery, path traversal through alias, header injection, and a disclosed version.
nginx/config-test push recommended Runs nginx -t on each main file inside the image, with a throwaway certificate and resolved upstream names. Records every file that nginx parsed.
Setting What it sets
tools.nginx.image The image nginx -t runs in; name the one the deployment uses.

gspot selects it in a scope with file paths **/nginx.conf, **/nginx/**/*.conf.

Rule file Installed when
.gspot/configurations/infrastructure/nginx/rules/NGINX.md Always
Tool Version
gixy 0.2.53
docker Any, install it yourself
openssl Any, install it yourself

gspot writes .gspot/configurations/infrastructure/nginx/gixy.cfg.