August 2017
Intermediate to advanced
278 pages
8h 53m
English
We can check the NGINX configuration files after changes are made to ensure the syntax is correct. To do this, we run the following:
/usr/sbin/nginx -t
You should see the following if everything is correct:
nginx: the configuration file /etc/nginx/nginx.conf syntax is oknginx: configuration file /etc/nginx/nginx.conf test is successful
If you have any errors, double check your configuration for syntax errors on the lines indicated.
Read now
Unlock full access