I have a raspberry pi with a dockerized service running there.
I’ve updated the cloudflared configuration to redirect the requests from clothion.remond.co
to my service. Here is my full configuration :
tunnel: raspberry_ssh_tunnel
credentials-file: xxx.json
ingress:
- hostname: ssh.remond.co
service: ssh://localhost:22
- hostname: clothion.remond.co
service: https://localhost:9910
- service: http_status:404
I added a CNAME DNS rule :
But accessing https://clothion.remond.co/
just gives a 404 error :
(see screenshot #1 in next response)
My configuration file is fine :
$ cloudflared tunnel ingress validate
Validating rules from /home/pi/.cloudflared/config.yml
OK
$ cloudflared tunnel ingress rule https://clothion.remond.co/
Using rules from /home/pi/.cloudflared/config.yml
Matched rule #2
hostname: clothion.remond.co
service: https://localhost:9910
My service is running fine, I can access it on my local network https://raspberrypi.local:9910
:
(see screenshot #2 in next response)
When I check the tunnel logs, I just have the following :
(see screenshot #3 in next response)
What’s going on ? Any idea why it’s not working and what I should do to fix this ?