Welcome! Log In Create A New Profile

Advanced

How to find reason for NGINX redirect

Posted by asfarley 
How to find reason for NGINX redirect
November 13, 2015 05:29PM
We have an Ubuntu server image that was moved to a different host. ProjectSend is installed on the image.

When the image is running on the original host, everything works. When it's copied to a new host, NGINX redirects any requests back to the old host.

I can't see any explicit redirects in NGINX configuration or .htaccess. I've grepped the NGINX configuration directory, and the ProjectSend directory, for any references to the domain where the redirects are sent but I don't see anything.

Is it possible to enable some debug output to provide information on why NGINX is redirecting? I see the 302 in access.log but it doesn't tell me why this is happening.
Re: How to find reason for NGINX redirect
November 13, 2015 05:47PM
Nm, this was happening because the original domain was stored in a MySQL database which ProjectSend used for redirecting.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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