It looks like you'll need to check this setting: http://docs.gunicorn.org/en/19.3/settings.html#forwarded-allow-ips
Trusting the X-Forwarded headers from the open internet is not safe, so gunicorn normally only does so from localhost connections. In your case, the connections to gunicorn will be coming from the docker gateway IP. On Fri, Oct 30, 2015 at 7:45 AM Jonathan Vanasco <[email protected]> wrote: > You probably just need this in your .ini: > > [app:main] > filter-with = proxy-prefix > > [filter:proxy-prefix] > use = egg:PasteDeploy#prefix > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
