Create testing-nginx-configs.md

This commit is contained in:
Sam Sneed 2024-07-04 23:40:54 +00:00 committed by GitHub
parent ed1b239d44
commit 6e2eb84685
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

15
testing-nginx-configs.md Normal file
View file

@ -0,0 +1,15 @@
# 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.