I am using Pagekit in a Docker container behind a reverse proxy. Thus a request looks like: https://mysite.com -> Apache Reverse Proxy (with https cert) -> localhost:8000 <-> Docker with nginx / php
That works all fine except one detail. If a user signs up for the site then the final request is made by localhost:8000 and pagekit will (quite rightly) insert http://127.0.0.1:8000/.../registration for href in the email sent to the user. Now, that's no good for the user as his local machine is not running my website
I was digging around the pagekit code and although it is very nicely written, I have zero knowledge of PHP and therefore didn't get to dirty hack my website URI into the appropriate places.
Is there any way of configuring this in a proper way?