Problem with serving from a subnet

I have a haproxy proxy forwarding requests to a subdomain onto a docker drone port.
Everything works fine and dandy, except that when clicking on the login button, the client is redirected to bare ip:port. This causes a cookie-error (maybe because the host changes from subdomain.domain.tld to bare ip. I do have --env=DRONE_SERVER_PROXY_HOST=sub.domain.tld on the docker run script.

Any ideas how to fix this or where to continue with the debugging are appreciated!


Hello @JeesusBock

How are you setting DRONE_SERVER_HOST? That should be the same address that you use to access Drone in your browser.