Hi! I’ve been trying to make this work but haven’t found the way yet.
I configured a tunnel for an X domain. The server hosting the tunnel, also has nginx as reverse proxy. The tunnel, for X domain+app is working perfectly. The issue is that when I try to add another domain to the same tunnel, it does not work.
The tunnel config is something along these lines (removed forward slashes)
tunnel: UUID
credentials-file: /root/.cloudflared/UUID.json
ingress:
- hostname: X
service: https:192.168.1.50
originRequest:
noTLSVerify: true
- hostname: www.X
service: https:192.168.1.50
originRequest:
noTLSVerify: true
- hostname: Y
service: http:192.168.1.50
- hostname: www.Y
service: http:192.168.1.50
- service: http_status:404
Over in the DNS dashboard for the Y domain, I created two CNAME records (root+www) pointing to the tunnel. The same goes for X domain.
Is that the correct way to do it? Am I missing something?
Thanks in advance for any help you can provide.
Cheers!