/etc/cockpit/cockpit.conf
[WebService]
Origins = https://cloudflare.domain wss://cloudflare.domain http://cockpitIP:9090 wss://cockpitIP:9090
ProtocolHeader = X-Forwarded-Proto
AllowUnencrypted = true
[Session]
Banner = /etc/issue
/etc/cloudflared/config.yml
tunnel: cloudflare_tunnel_id
credentials-file: cloudflare_cred_file.json
ingress:
- hostname: cloudflare.domain
service: http://cockpitIP:9090
originRequest:
noTLSVerify: true
- service: http_status:404