Help using tunnels (ngrok/cloudflare/etc), url switches back to local domain #1769
Unanswered
anacat
asked this question in
Q&A / Help
Replies: 1 comment 1 reply
-
base_url needs to be set to the url the client is using to access to the service. If you're getting the login looping that means that there's a problem with setting the cookie in the browser. If your asm.mysite.com is SSL then you might need to set session_secure_cookie = true in your asm3.conf file. The fact that you're using a tunnel complicates things - you might find it simpler to set up a cheap VPS with a hosting provider to avoid the headaches. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A big disclaimer: I'm very new to web development and have been mostly tweaking stuff and doing a lot of research for similar problems, however I might not know the correct wording for the current problem I'm facing.
I volunteer at a small shelter and since we don't have a lot of money to spare, I have sheltermanager self hosted in a computer in my home and have been using it very regularly with a vpn with no issues. I wanted to make the site more accessible to the less tech savy volunteers, so I've been looking into integrating a cloudflare tunnel or something similar.
The problem is that even when using a service like this, the website always resolves back to the local domain. For example, the urlI set on
asm3.conf
ishttp://192.168.1.23
, and the tunnel is set tohttp://asm.mysite.com
. It all seems to work fine until the url refreshes to the local one and I'm not able to access the site. If I useasm.mysite.com
inasm3.conf
instead, the login screen just keeps looping forever.Leaving asm3.conf here for refference, I'm not sure what other files would be relevant to share.
asm3.conf.txt
Thank you all in advance, and thank you for your hard work developing this very helpful software 🙏
Beta Was this translation helpful? Give feedback.
All reactions