-
Notifications
You must be signed in to change notification settings - Fork 54
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
https website forcibly redirects to http #7
Comments
Thanks for reporting this. I'm not able to reproduce this using a standard setup in my VM - in the past however, this issue was caused by running SnitchDNS using SSH tunnels (which was fixed). Could you please describe your setup, and could you confirm you're using the latest and greatest Dockerfile? |
I have deployed it in a vm directly. I am accessing the DNS through openvpn. Is that causing the issue? I am using the latest docker file. I just set it up like 5 days back. Cloned the repo and ran the instructions according to the readme. Built the dockerfile and ran it. |
Thanks for the update - I'll have a look and try to reproduce the issue locally. |
Hi @srnthsrdhrn - are you still having this issue? |
@sadreck The issues still exists. Just cloned the repo and did the build/run command and the UI runs on HTTPS port but constantly redirects to HTTP (http://localhost/install for example upon first request after start). |
@jnehlmeier could you describe your setup please? Things like:
|
Really nothing special. I use docker on macOS 10.15.7 and simply did your short tutorial without modifying any dockerfile build arg. Then I executed |
Ok I have to correct me. I already had something running on port 80 and 443 and thus used different ports. And that seems to be the issue.
If I run the app with published port 80 and 443 everything works as expected. |
Thanks for the detailed steps! I'll have a look when I get some downtime. |
I am using snitchdns deployed over docker. The DNS as such works fine. The difficulty is in accessing the ui.
Only the https server is working. http just returns not found response.
Morevoer whenever I submit a form in the ui, it redirects to the http site and goes to 404 not found.
I have to manually change the url each time from http to https.
If this bug is fixed, the system is really easy to setup and use.
The text was updated successfully, but these errors were encountered: