[pylons-discuss] Re: Pyramid & gunicorn & nginx + X-Forwarded-Proto

2016-09-16 Thread Desson Ariawan
I'm struggling for 3+ hours to setup my server because of same issue... If I come to this forum earlier :( Thank you guys, for my case changing .ini file solving the issue (instead of 3+ hours struggling in nginx.conf) Regards On Friday, October 30, 2015 at 10:45:19 PM UTC+8, Jonathan Vanasco

Re: [pylons-discuss] Re: Pyramid & gunicorn & nginx + X-Forwarded-Proto

2015-11-03 Thread Jonathan Vanasco
On Friday, October 30, 2015 at 11:27:33 AM UTC-4, Randall Leeds wrote: > > 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 d

Re: [pylons-discuss] Re: Pyramid & gunicorn & nginx + X-Forwarded-Proto

2015-10-30 Thread eperez
Hi Randall El viernes, 30 de octubre de 2015, 16:27:33 (UTC+1), Randall Leeds escribió: > > It looks like you'll need to check this setting: > http://docs.gunicorn.org/en/19.3/settings.html#forwarded-allow-ips > You nailed it. Thank you so much. > > > Trusting the X-Forwarded headers from the

Re: [pylons-discuss] Re: Pyramid & gunicorn & nginx + X-Forwarded-Proto

2015-10-30 Thread Randall Leeds
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 c

[pylons-discuss] Re: Pyramid & gunicorn & nginx + X-Forwarded-Proto

2015-10-30 Thread Jonathan Vanasco
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