Custom hostnames on Cloudflare pointing to app
markitosgv
HOBBYOP

2 years 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

5 Replies

brody
EMPLOYEE

2 years ago

I would recommend looking into using a Cloudflare tunnel.


markitosgv
HOBBYOP

2 years ago

Thanks but is not what I need


brody
EMPLOYEE

2 years 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

a year ago

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


thegarty
PRO

7 months ago

Did this ever get resolved, I'm having the same exact issue


Loading...