Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On Ubuntu 13.04 the original WWW was in /var/www/ then I installed NginX and it installed correctly but I can't find the actual folder accessible by http (I looked in /etc/nginx/). I searched for index.htm, index.html and index.php but there are hundreds of results.

Is there a command I can run to tell me what folder http is pointed to? I tried searching for this but I am not sure what keywords to use .

Places I looked in:

/usr/share/nginx/www
/usr/share/www
/usr/share/html
/var/www
/etc/nginx/
share|improve this question

2 Answers 2

On ubuntu if you installed with apt-get it is /usr/share/ngnix/www

share|improve this answer

If you run

dpkg -L nginx

you should see where it put any files.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.