Welcome! Log In Create A New Profile

Advanced

Re: 'Primary' domain in server block?

Francis Daly
March 07, 2013 12:08PM
On Thu, Mar 07, 2013 at 09:30:01AM +0000, Tom Barrett wrote:

Hi there,

> I'm doing some work with PayPal integration.

How does nginx talk to your PayPal integration system?

proxy_pass, fastcgi_pass, something else?

> The work is being done in under 'dev01.devsite.co.uk' domain. However, for
> link backs from PayPal, it is working out that it should be '
> dev01.localmap.net'. If I switch the two around in the server block, then
> PayPal picks that up.

In nginx, the variable $server_name is the first entry for the server_name
directive in the appropriate server{} block.

There are circumstances in which the variable $host will take that value.

> How is PayPal doing that?

Presumably you're giving the information it to PayPal somehow?

> And are there any config settings I can use to
> change this behaviour?

Probably. What's your current relevant config?

f
--
Francis Daly francis@daoine.org

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

'Primary' domain in server block?

miradev March 07, 2013 04:32AM

Re: 'Primary' domain in server block?

Francis Daly March 07, 2013 12:08PM

Re: 'Primary' domain in server block?

miradev March 08, 2013 03:54AM

Re: 'Primary' domain in server block?

Francis Daly March 08, 2013 03:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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