Test & Reload Nginx Config

Validate the Nginx configuration, then reload only if it passes.

Tests the Nginx configuration for syntax errors before reloading. Always run this before reload - a syntax error in reload kills the nginx master process on some versions.

When you need this: After any nginx.conf or site config change before applying it.

Command


        
8 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.