Nginx not finding a directory in its path
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:
> These are the most recent entries in the nginx access log:
> 184.108.40.206 - - [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
> 220.127.116.11 - - [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
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
The nginx config that handles this request to this server is what
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.
Francis Daly francis at daoine.org
More information about the nginx