__pkginfo__.py
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 24 Oct 2017 09:50:29 +0200
branch3.25
changeset 12216 4de5927871f9
parent 11382 dab704a0e4b1
permissions lrwxrwxrwx
[pyramid] set waitress url_scheme to https when base-url scheme is https See https://docs.pylonsproject.org/projects/waitress/en/latest/#using-behind-a-reverse-proxy Since we do not configure trusted_proxy waitress ignore X-Forwarded-Proto header and may generate http urls (pyramid request.url) when the instance is behind a https reverse proxy. This cause cubicweb-signredrequest to not work with since it rely on the url (including scheme). Set url_scheme to 'https' when CubicWeb base-url scheme is https as a workaround.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11382
dab704a0e4b1 Symlink __pkginfo__.py at root
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     1
cubicweb/__pkginfo__.py