Custom hostnames on Cloudflare pointing to app

markitosgv
HOBBY

a year 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

a year ago

I would recommend looking into using a Cloudflare tunnel.


markitosgv
HOBBY

a year ago

Thanks but is not what I need


a year 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.


ramezj
HOBBY

10 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