Join GitHub today
Added support for reverse proxy #147
environment: - KILLBILL_TOMCAT_PROXY_NAME=my-killbill.domain - KILLBILL_TOMCAT_PROXY_PORT=443 - KILLBILL_TOMCAT_SCHEME=https
Yes, that way we keep track of all the environment variables available.
I'm quite surprised you don't need any of the settings from https://github.com/killbill/killbill-docs/blob/v3/userguide/platform/userguide_deployment.adoc#x-forwarded-headers-support (e.g.
Thanks, I'll build the image locally when I get to it.
That's exactly what was failing when I switched to reverse proxy - the RedirectOnPostMiddleware was redirecting to http and tests didn't pass.
I was able to setup Traefik locally and try it out.
Looking at the logs, it seems that Traefik does the right thing and adds the necessary headers out of the box:
So, it doesn't look like we need to do anything else?
Even better, it looks like we could simply add the