K
K
KIN19912014-12-01 16:06:49
Nginx
KIN1991, 2014-12-01 16:06:49

Why doesn't nginx understand symbolic links?

Hello everyone, I ran into a problem, there is a shared folder in the ubuntu server, it is located in /media/sf_web/ to which I create a symbolic link:
ln -s /media/sf_web/test.loc /home/nik/web
In the nginx hosts, the path to the root is:
root /home/nik/web/test.loc/www
But when I try to log in from the browser, it gives 404.
I forgot to mention the folder itself is shared folder from a real OS, nginx itself is located on a virtual machine (vitrualbox),
Please tell me what I'm doing wrong.
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Power, 2014-12-01
@Power

Read error.log - for sure there is no access to some folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question