Tools Practical By Samson Tanimawo, PhD Published Dec 10, 2025 4 min read

nginx Debug Cheatsheet

nginx debugging commands.

Test config

nginx -t validates the configuration.

-T includes the full config.

Reload

nginx -s reload reloads config without dropping connections.

reload != restart.

Logs

error_log /var/log/nginx/error.log debug; for verbose.

Don't leave on; high volume.