Using Cloudflare Tunnel with Yunohost+NGINX

I have searched the forum for similar issues

on

This category is for general issues regarding YunoHost, NOT apps.

on

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

on

What type of hardware are you using

Old laptop or computer

What YunoHost version are you running

11.2.31

How are you able to access your server

The webadmin
SSH

Are you in a special context or did you perform specific tweaking on your YunoHost instance ?

No

Describe your issue

Hi.
Till now I used Yunohost with opened ports 80,443 on my router and with domain bought in Gandi.net. But I transfered domain somewhere else and I connected it with Cloudflare. I use DNS only on Cloudflare but I think about closing ports 80 and 443 to switch to Cloudflare Tunnels which I used on another servers.

Cloudflare tunnels works a little bit like reverse proxy, because user defines domains/subdomains and ports in Cloudflare, so if someone wants to has Home Assistant accessible using CF Tunnels he can define:

home.example.com - http://192.168.1.3:8123

and magically the Home Assistant is getting accessible via Internet with HTTPS but without any ports opened.

Is this something possible with Yunohost? I want to use this with Nginx turned on to keep domain management created in Yunohost.

EDIT

Also I have a problem with Cloudflare Proxy because When I switch it on, I got message: Site Redirected to Many Times. Is this can be fixed?

Probably fixed using Full SSL mode (not Flexible)

Share relevant logs or error messages

No.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.