───✱*.。:。✱*.:。✧*.。✰*.:。✧*.。:。*.。✱ ───

Misc Links

Raspberry Pi - Cloudflare blogs with this tag

Manage DNS records · Cloudflare DNS docs

Overview · Cloudflare Rules docs

Page Rule or Redirect? - General / Rules - Cloudflare Community

HTTPs and Cloudflare tunnels

Cloudflare tunnels with Docker : Gitea and Cloudflare Tunnels Ollama and Cloudflare tunnels

Perplexity

Question

I’ve been making http tunnels with cloudflared. how do i make them https?

To convert your HTTP Cloudflare Tunnels to HTTPS, you can follow these steps:

  1. Enable “Always Use HTTPS” in your Cloudflare dashboard:

    - Log in to your Cloudflare account and go to the specific domain

    - Navigate to SSL/TLS > Edge Certificates

    - Switch the “Always Use HTTPS” toggle to On1

  1. Ensure your SSL/TLS encryption mode is not set to “Off” in the SSL/TLS > Overview section of your Cloudflare dashboard1.

  2. If your origin server is using a self-signed certificate or you’re having issues with HTTPS, you can enable the “No TLS Verify” setting in the Cloudflare Zero Trust dashboard:

    - Select ‘https’ on the Service Type drop-down

    - In “Additional application settings” under “TLS”, enable “No TLS Verify”2

  1. If you’re using Cloudflare Tunnel with a local HTTP service, Cloudflare will handle the encryption from the user to the connector on your machine. You can keep using HTTP between the Cloudflared container and your local service3.

By implementing these steps, your Cloudflare Tunnel will serve traffic over HTTPS, redirecting all HTTP requests to HTTPS automatically.

Footnotes

  1. https://developers.cloudflare.com/ssl/edge-certificates/additional-options/always-use-https/ 2

  2. https://community.cloudflare.com/t/tunnel-not-working-on-https-and-onyl-working-on-http/488438

  3. https://community.cloudflare.com/t/having-trouble-setting-up-http-to-https-redirect-for-tunnel/396017

───✱*.。:。✱*.:。✧*.。✰*.:。✧*.。:。*.。✱ ───