mirror of
https://github.com/the-spellman/tech-docs-md
synced 2025-01-09 14:23:12 +00:00
356 B
356 B
Testing NGINX configs
Run the test command
Run it by executing this commnand in the terminal:
nginx -t
Interpret output
- If the configs were valid and have no syntax errors, you'll see an output like:
nginx: configuration file /etc/nginx/nginx.conf test is successful
- If there are errors/warnings, nginx will provide details.