Hey guys, I spent the last 18 hours going thru the tutorial and have manage to get nginx installed with lemp. i installed nginx from source. i have /etc/nginx and /opt/nginx?? whats the difference, but i made sure both had identical codes.
My problem is, the tutorial told me to use /srv/www/domain.com
so i change all my nginx.conf and related files to reflect that but upon going to my own
www.domain.com, it displays welcome to nginx and after an hour i realized it was pointing to /var/www/nginx-default/index.html., and without the WWW in front of domain.com it goes to /opt/nginx/html/index.html?
so what do i have to do to be able to use /srv/www/domain.com only?
and for users it says...
#user nobody;
worker_processes 1;
some tutorials tell me to do www-data www-data, and others are nginx nginx, so how do i find out what user to use?
thanks in advance. i really did try to figure it out and searched google and forum before posting,