Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

huly-selfthosted behind cloudflare tunnel #44

Open
reynold-lariza opened this issue Oct 8, 2024 · 1 comment
Open

huly-selfthosted behind cloudflare tunnel #44

reynold-lariza opened this issue Oct 8, 2024 · 1 comment

Comments

@reynold-lariza
Copy link

reynold-lariza commented Oct 8, 2024

I have an existing cloudflare tunnel service into my proxmox machine, and added a record to point to http://<huly-vm-ip>:8087/ so it will have a DNS record of https://office.some.tld

Wherein huly-vm ip is 10.0.1.222

But it appears there's an issue when attempting to login Unknown error: Failed to fetch

utils.ts:957  Mixed Content: The page at 'https://office.some.rld/login%3Acomponent%3ALoginApp/login' was loaded over HTTPS, but requested an insecure resource 'http://10.0.1.222:3000/providers'. This request has been blocked; the content must be served over HTTPS.
@MironVeryanskiy
Copy link

I had some success getting huly to run behind cloudflare tunnel.
I used the setup.py from under the huly-selfhost/nginx directory, and had to make some slight modification to the setup.py because it was hard-coding ports into the wrong places for a cloudflare tunnel configuration.

I put up a pull request #101 with the changes required.
If you copy the setup.py: from my pull request, you might have success following along the steps I outlined in README.md in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants