I recently installed Nginx onto an Ubuntu 10.04 machine to try to learn how to use it over Apache. I installed using aptitude. I correctly set up a virtual host under
/etc/nginx/sites-available and created a symlink to
/etc/nginx/sites-enabled and deleted the defaults there.
The site was working fine until I manually edited the aptitude sources file and performed an upgrade, now I'm noticing that the virtual hosts I assigned are being overwritten by a new configuration file in
/etc/nginx/conf.d. How can I revert to detecting the virtual hosts from the
/sites-enabled directory? Why did the update change where nginx detects virtual hosts?