Welcome! Log In Create A New Profile


The paths changed on new nginx jnstall.

Posted by ex-para 
The paths changed on new nginx jnstall.
January 10, 2016 03:02AM
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.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready