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

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to