Welcome! Log In Create A New Profile

Advanced

Re: nginx 0.7.53: port_in_redirect ignored

All files from this thread

File Name File Size   Posted by Date  
patch.port 423 bytes open | download Igor Sysoev 04/28/2009 Read message
April 28, 2009 02:19AM
On Mon, Apr 27, 2009 at 10:40:37PM -0400, Floren Munteanu wrote:

> Hi all,
>
> I upgraded this morning to 0.7.53 version, thanks Igor. I have an issue
> with the port_in_redirect set to off, it would not hide the actual port.
> I run nginx on a CentOS 5.3 x64 machine, no apache installed or other
> fancy software beside PHP 5.2.9 and MySQL 5.1.33. It is set as a
> proxy_pass on ports 8000 and 8001.
>
> I tried to setup port_in_redirect off in http, server and location. Same
> results.
> Right now it is set at http level. Try this:
> Type in your browser: axivo.com, it will bring you to the right site.
> Then, try axivo.com/test, it will direct you to an URL with port on
> it... In root and /test dir are 2 plain index.html files.
>
> Does anyone else have any issues with it? If you don't please let me
> know your setup.

The attached patch fixes the bug appeared in 0.7.39.


--
Igor Sysoev
http://sysoev.ru/en/
Attachments:
open | download - patch.port (423 bytes)
Subject Author Posted

nginx 0.7.53: port_in_redirect ignored

Floren Munteanu April 27, 2009 10:40PM

Re: nginx 0.7.53: port_in_redirect ignored Attachments

Igor Sysoev April 28, 2009 02:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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