I have Nginx software running on a laptop as a server, I was getting a few problems as it had been working for a good few years so I re-installed but some paths have changed on the new install
example gksudo gedit /var/www/nginx-default/index.html (old path )
gksudo gedit /usr/share/nginx/www/index.html (my new path) it works
sudo ln -s /var/www/my-www/my-index.html /var/www/nginx-default/index.html (old path)
sudo ln -s /usr/www/www/index.html /usr/www/nginx-default/index.html Would this path also work, if not please why not.
There are other paths but if the above worked I could then sort them out.
I am using Ubuntu 12 lts.
example gksudo gedit /var/www/nginx-default/index.html (old path )
gksudo gedit /usr/share/nginx/www/index.html (my new path) it works
sudo ln -s /var/www/my-www/my-index.html /var/www/nginx-default/index.html (old path)
sudo ln -s /usr/www/www/index.html /usr/www/nginx-default/index.html Would this path also work, if not please why not.
There are other paths but if the above worked I could then sort them out.
I am using Ubuntu 12 lts.