Test Nginx Config File
It’s been a while since we’ve posted an article. Mainly because we were using our own website as a guinea pig to test whether or not posting fresh content really mattered with Google. Short answer, it does; long answer, it does and does not. That’s another topic. We really want to show you how to test your nginx config file.
Nginx Test Server Config
nginx -c /etc/nginx/nginx.conf -t
sudo nginx -c /etc/nginx/nginx.conf -t
What this line of code does, and this of course assumes you know how to use the command line because otherwise, why