Welcome! Log In Create A New Profile

Advanced

Re: Nginx not finding a directory in its path

Francis Daly
May 31, 2022 02:36AM
On Mon, May 30, 2022 at 10:30:13PM -0400, Ken Wright wrote:
> On Tue, 2022-05-31 at 00:01 +0000, nginx-request@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@daoine.org
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Nginx not finding a directory in its path

Ken Wright May 30, 2022 01:38PM

Re: Nginx not finding a directory in its path

Francis Daly May 30, 2022 03:56PM

Re: Nginx not finding a directory in its path

Ken Wright May 30, 2022 10:32PM

Re: Nginx not finding a directory in its path

Francis Daly May 31, 2022 02:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
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