Skip to content

Allow overriding HTTPS

Tai Kedzierski requested to merge taikedz/framadate:feature/force-https into develop

In the case where the proxy does not pass HTTP_X_FORWARDED_PROTO, we need a way to explicitly request https:// scheme on callbacks. This is particularly the case when using a docker-compose deployment behind some arbitrary proxy.

This change adds a constant FORCE_HTTPS which can be used to forcibly override automatic detection of HTTPS usage, when set. It can then be set in the docker-compose.yml environment variables.

Edited by Tai Kedzierski

Merge request reports