After lots of Googling, lots of tracing, lots of tinkering with the nginx.conf & /vhosts -
It came down to an error message saying ClamAV was not up to date. Running clamscan told me clamscan was not installed. Trying to install clamscan told me it was already installed. e_e
So, looks like I'm gonna be wiping this server, soon.
Much thanks to everyone that gave their insight.
If anyone knows a legitimate how or why such a thing can happen, I'd be happy to know...
I solved this by restarting the server. e_e
If I am not mistaken, this would implicate php-fpm -- right?
However, now that nginx is online and responding to the config changes I make -- I'm getting 403 forbidden and 502 bad gateway on things I had never gotten before. (ISPConfig and PhpMyAdmin, respectively) Error log says :
[error] 9150#0: *7 open() "[...]/ispconfig/[..]/phpmyadmin" failed (13: Permission denied),
One link suggests increasing the buffer size - which I tried, does not work -- And the other things I found seemed to be irrelevant ---
Thanks again !
To make a long story short, this all started when I was trying to make an nginx config to add a password to a site. No big deal - I've done it before, no sweat --
However, the configuration was not working with no good reason as to why ---
Well, long story short, after many failed attempts, I finally commented out the line:
include sites-enabled/* ;
Only for the surprise that everything still works ---
After making sure Apache wasn't running (it isn't even installed, anymore!) - I Googled around to see if I could find anything about a config cache on Nginx - but no dice.
So, I've come to you good people, here -- to see if you can lend me any insight on why everything still works against my best intentions of breaking it
Strangely enough, nginx continued to work even after running
sudo service nginx stop * Stopping nginx nginx
sudo cat /var/log/nginx/error.log
didn't yield anything useful, aside from the "[emerg] bind() to 0.0.0.0:80 failed"
Which it seems I've always gotten - and has never caused problems, before...