hcengineering / huly-selfhost

Huly for Self Hosting
Eclipse Public License 2.0
1.71k stars 132 forks source link

how to use it with cloudflare tunnel #56

Open Mohamed-sobhi95 opened 1 month ago

Mohamed-sobhi95 commented 1 month ago

i manage my domain with cloudflare tunnel and i don't want to use nginx

ofipify commented 1 month ago

By default Huly listens on http://localhost:8087, so just point your tunnel to that and ignore the whole nginx setup. Keep in mind that this means that internal traffic between Cloudflare and cloudflared will not be encrypted this way.

You would need to create an origin certificate and use this via local proxy (using nginx for example...) https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/

MironVeryanskiy commented 5 days ago

I was able to get huly running behind cloudflare tunnel, but I had to make some minor modifications.

If you copy the setup.py from pull request https://github.com/hcengineering/huly-selfhost/pull/101, you might have success following along the steps I outlined in README.md

Your issue might be a similar issue as https://github.com/hcengineering/huly-selfhost/issues/44