Re: [pylons-discuss] Best practices for running Pyramid (docker) and nginx (host) deployment

2021-12-13 Thread Andreas Kaiser
If the other solutions don't work for you, you can also set ``url_scheme`` in your config, for example: [server:main] use = egg:waitress#main port = 6543 url_scheme = https HTH, Andreas On 14 Dec 2021, at 1:21, Jens Troeger wrote: Hello, I’ve seen some

Re: [pylons-discuss] Best practices for running Pyramid (docker) and nginx (host) deployment

2021-12-13 Thread Michael Merickel
The linked waitress docs do work. I deploy waitress behind nginx and envoy and heroku regularly using the guides in there. Make sure to configure the trusted proxy settings and ensure the upstream is setting the right headers. - Michael > On Dec 13, 2021, at 18:22, Jens Troeger wrote: > >

Re: [pylons-discuss] Best practices for running Pyramid (docker) and nginx (host) deployment

2021-12-13 Thread Theron Luhn
1) pserve isn’t really comparable with gunicorn, its just a way to launch a server, such as gunicorn or waitress. You’re probably using waitress, that’s what the Pyramid docs use. I personally use gunicorn, but many on this mailing list are using waitress with success, so I think it’s a fine

[pylons-discuss] Best practices for running Pyramid (docker) and nginx (host) deployment

2021-12-13 Thread Jens Troeger
Hello, I’ve seen some conversation here about running a Pyramid app server inside a Docker container, but none has really answered my questions. My setup is that nginx runs on the host and currently uses *proxy_pass* to