evertramos / nginx-proxy-automation

Automated docker nginx proxy integrated with letsencrypt.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage with Cloudflare Tunnels

avidsapp opened this issue · comments

Is your feature request related to a problem? Please describe.
I'm attempting to use this with Cloudflare Tunnels. The tunnel works fine with an undockerized NGINX reverse proxy and multiple domains. Cloudflared only provides a CNAME for the domain, so this may be the holdup. Encryption at the host isn't necessary as traffic to Cloudflare is still encrypted.

Describe the solution you'd like
Insight on how to forward correctly through the tunnel to the dockerized proxy

Describe alternatives you've considered

  • DNS verification via Let's Encrypt.
  • Nginx-proxy/nginx-proxy without Let's Encrypt
  • Commenting out LETSENCRYPT_HOST to disable SSL in application environments

Commenting out LETSENCRYPT_HOST, exposing only port 80, and ensuring the network matches the application network allows this to function behind Cloudflare Tunnels

Also check #238