not found file on symlink...

zuckbin nginx-forum at
Thu May 24 09:06:56 UTC 2012


I use symlink on files, but nginx got error 404 on files.

I can access the file like this (no error):

but not like this this link is a
symlink to this file

Why the serveur said the file is not found ?  I don't understand

Here my conf:

	server {
		listen 80;
		root /home/www/;
		location / {
		return 404;

		location ~*
			root /home/www/;
			expires 30d;
			add_header Pragma public;
			add_header Cache-Control "public";

Thanks for your help

Posted at Nginx Forum:,226784,226784#msg-226784

More information about the nginx mailing list