basic question about

ndrini nginx-forum at forum.nginx.org
Tue Jul 26 11:17:05 UTC 2016


I have this server block in a EC2 nginx webserver.



				server {
				    listen 80 default_server;
				    root /home/a/all;
				    index index.html;

				    location / {
				        try_files $uri $uri/ =404;
				    }
				}


In my idea all the sites that point to the server should show the same page:

index.html located in root /home/a/all/index.html


But I have an 
403 Forbidden
nginx/1.4.6 (Ubuntu)

:(


Why?

Thanks,

Andrea

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268466,268466#msg-268466



More information about the nginx mailing list