Welcome! Log In Create A New Profile

Advanced

Re: Spurious "/.com" inserted into URL

Maxim Dounin
August 09, 2010 05:30PM
Hello!

On Mon, Aug 09, 2010 at 02:03:27PM -0400, desiato wrote:

> (You can see this pretty-printed at
> http://serverfault.com/questions/168098/nginx-just-started-inserting-spurious-coms-into-our-urls
> )
>
> I made some minor changes to our nginx config on Friday (deploying SSL
> certs: adding a server listening on 443 with the appropriate settings
> and adding a couple rewrite rules to forward certain requests to it) and
> all of a sudden our URLs started getting extra "/.com"s inserted into
> them. For example, clicking a link to http://domain.com/logout/ takes
> the user to http://domain.com/logout/.com/. http://domain.com/register/
> forwards to http://domain.com/.com/register/. This doesn't happen with
> a subdomain (e.g. http://production.domain.com/logout/ just works) and
> it also doesn't happen with https://domain.com/ (so right now, as a
> workaround, the entire site is being served with https).

I can't say for sure as you stripped lots of details from your
report, but it sounds similar to the following issue (mostly in
Russian):

http://nginx.org/pipermail/nginx-ru/2010-February/032586.html

Try using "proxy_redirect off;" to see if it helps.

If it doesn't - please provide debug log. See here for details:

http://nginx.org/en/docs/debugging_log.html

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Spurious "/.com" inserted into URL

desiato August 09, 2010 12:12PM

Re: Spurious "/.com" inserted into URL

vesperto August 09, 2010 02:18PM

Re: Spurious "/.com" inserted into URL

Igor Sysoev August 09, 2010 04:20PM

Re: Spurious "/.com" inserted into URL

desiato August 10, 2010 12:34AM

Re: Spurious "/.com" inserted into URL

Igor Sysoev August 09, 2010 04:28PM

Re: Spurious "/.com" inserted into URL

desiato August 09, 2010 05:25PM

Re: Spurious "/.com" inserted into URL

Maxim Dounin August 09, 2010 05:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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