I am using Centmin mod on my VPS and I am getting this weird error when I attempt to restart NGINX.
nginx: [emerg] "location" directive is not allowed here in /usr/local/nginx/conf/staticfiles.conf:1
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
I get this after what I assume is me putting the rewrite into my file. Any idea(s) on what may be causing this?