Welcome! Log In Create A New Profile

Advanced

basic question about

July 26, 2016 07:17AM
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
Subject Author Posted

basic question about

ndrini July 26, 2016 07:17AM

Re: basic question about

Zeal Vora July 28, 2016 03:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready