[pylons-discuss] WebOb 1.5.1 and 1.4.2 have been released

2015-10-30 Thread Bert JW Regeer
Hey everyone, I have released an updated version of WebOb 1.4.2 and 1.5.1 that fixes some small bugs: • The exceptions HTTPNotAcceptable, HTTPUnsupportedMediaType and HTTPNotImplemented will now correctly use the sub-classed template rather than the default error template. See https://

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

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

2015-10-30 Thread eperez
Hi, We have 2 pyramid (1.5) apps run by gunicorn behind nginx as reverse proxy, both in the same HTTPS vhost. One app is at location /, and the other is at /bla/. This is the relevant configuration of the vhost: server { listen 443 ssl; server_name localhost; ssl on; ssl_certif