Published .
serve
function from serve.mjs
now reads the request headers x-forwarded-proto
and x-forwarded-host
when determining the route URL, which should be what the client originally used to start the request. Reverse proxy servers (load balancers, CDNs, etc.) may forward client requests to the Ruck app server using a different protocol or host. E.g. Fly.io forwards https:
requests to the deployed server using http:
..github
directory.