Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

basic question about (1 reply)

$
0
0
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

Viewing all articles
Browse latest Browse all 7229