scheme of url when using py4web with https proxy

40 views
Skip to first unread message

Eric

unread,
Feb 4, 2020, 9:16:52 AM2/4/20
to web2py-users
Hello

When using py4web with a proxy (py4web running on port 8000, web server frontend is https), the scheme within py4web is showing http even through the url is https.
A fix for that is part of the FAQ for bottle, https://bottlepy.org/docs/dev/faq.html
How can I configure py4web to return the proper scheme?

Eric

Eric

unread,
Feb 4, 2020, 9:30:05 AM2/4/20
to web2py-users

On Tuesday, February 4, 2020 at 8:16:52 AM UTC-6, Eric wrote:
How can I configure py4web to return the proper scheme?


I should add that main problem this is causing for me is that the OAuth2 class builds the callback URIs based on the reported scheme.

Eric

Massimo Di Pierro

unread,
Feb 10, 2020, 1:01:40 AM2/10/20
to web2py-users
Please open a py4web ticket about this. Will address asap.
Reply all
Reply to author
Forward
0 new messages