Custom hostnames on Cloudflare pointing to app

markitosgvHOBBY

10 months ago

We are currently using the cloudflare service for our customers who have their own domain pointing to our SAAS, the customers point to cloudflare where the valid SSL certificate is generated, and from cloudflare attacks the application on railway.

The problem is how from cloudflare can reach railway in a (Full) way that is to say by https between servers and that the certificate in railway is self-signed.

Is there any way to achieve this without having to configure the domains in railway? In fly.io it is possible to set this so that any domain that points resolves with a signed certificate.

[http_service.tls_options]

alpn = ["h2", "http/1.1"]

versions = ["TLSv1.2", "TLSv1.3"]

default_self_signed = true

4 Replies

10 months ago

I would recommend looking into using a Cloudflare tunnel.


markitosgvHOBBY

10 months ago

Thanks but is not what I need


10 months ago

I don't see why not -

Is there any way to achieve this without having to configure the domains in railway?

A Cloudflare Tunnel.


ramezjHOBBY

8 months ago

Hello, did you guys figure this issue out? I'm facing the same issue.


Custom hostnames on Cloudflare pointing to app - Railway Help Station