nginx & ispconfig document folders

August 19, 2014 716 views

what is happening with nginx and ispconfig
when i create a site with ispconfig i see the following structure
and -> /var/www/clients/client1/web2/
which links to
how is this possible and what should i do when creating a site?
also when i create a ftp-user in ispconfig it also uploads it content in /var/www/clients/client1/web2/ instead of /var/www/

1 Answer

This is called Symbolic Link and its axtremely helpful for hiding long paths.

sudo ln -s <source_path> <target_path>

When you're using ISPconfig it actually uses the normal (long) path becayse the symbolic link doesnt really exists. Its just like a shortcut.

Have another answer? Share your knowledge.