Welcome! Log In Create A New Profile

Advanced

403 / index of "usr/html" is forbidden

Posted by MINJO 
403 / index of "usr/html" is forbidden
September 19, 2013 02:31PM
Hi,

I've had a BOA (Barracuda, Octopus, Aegir) LEMP stack which I'm trying to get rid of(only the boa part of course).

I just can't get my head around this problem. When I browse to my domain it shows in nginx error log that it is trying to access "usr/html" to serve pages.

However, I haven't configured this "usr/html" as path in any config file though it seems like some configuration file must have this.

Where could I start with this? Can I inspect e.g. Nginx process/start to have a understanding on current configuration?

OR optionally what should I do with the usr/html folder to get it work?

Nginx 1.1.19, Ubuntu 12.04, PHP-FPM

Tried to update Nginx from 1.3.15 but instead it desided to downgrade it to 1.1.19 (Now the error is 404 (etc/nginx/html/index.html))



Edited 1 time(s). Last edit at 09/19/2013 02:32PM by MINJO.
Re: 403 / index of "usr/html" is forbidden
September 19, 2013 02:54PM
My bad :( Didn't realize that my conf file in sites-enabled did in fact have some wrong configurations.

Now I would like to UPgrade to latest stable...
Re: 403 / index of "usr/html" is forbidden
September 22, 2013 10:45PM
Because you don't turn on autoindex in nginx config file.

You edit file nginx.config, insert line :

location / {
/* Do Something :D */
autoindex on;
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 175
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready