Check The Syntax Of nginx Files
Check The Syntax Of nginx Files
The syntax of nginx
configuration files can be a bit finicky. On top of that, some nginx
server commands can fail silently. Get more confidence by using the following command to check for syntax errors in those files:
If there is an error, you might see something like this:
If all looks good, then you'll see this:
Last updated