Nginx not finding a directory in its path

Francis Daly francis at daoine.org
Tue May 31 06:35:54 UTC 2022


On Mon, May 30, 2022 at 10:30:13PM -0400, Ken Wright wrote:
> On Tue, 2022-05-31 at 00:01 +0000, nginx-request at nginx.org wrote:

Hi there,

> These are the most recent entries in the nginx access log:
> 
> 72.18.50.172 - - [30/May/2022:22:19:34 -0400] "GET /installer HTTP/2.0"
> 404 114 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101
> Firefox/100.0"
> 72.18.50.172 - - [30/May/2022:22:19:34 -0400] "GET /favicon.ico
> HTTP/2.0" 404 114 "https://grace.koalatyworks.com/installer"
> "Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101
> Firefox/100.0"

Thanks; that suggests that the request is being handled by nginx.

> Do you mean the config file for Roundcube or a different config?  Sorry
> if I'm being dense, but I don't want to waste bandwidth with the wrong
> file.

No worries.

The nginx config that handles this request to this server is what
matters first.

We can see that it does return 404; it sounds like you want it to return
a redirect to /installer/, and then you want the request to /installer/
to cause the file installer/index.php to be php-processed. And neither
of those happens.

The current nginx config should show why other things happen instead.

Something like "nginx -T" can show the config file content; other
possibilities exist as well.

Thanks,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list