-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Docker image v4.0.0 web UI redirects to localhost #2103
Comments
@knadh This is still an issue. With f5dfb0c, the login page is now displayed fine, but we get redirected to I think the |
With version v4.0.1 installed, I can confirm that I still get redirected to http://localhost:9000 after login. |
I had the same problem: The first login after setup worked but every further login ended on localhost:9000. |
@knadh I still don't feel comfortable enough with listmonks's internals to submit a PR. But what I think is relevant to this issue:
|
Agree the form url should be relative. |
Version:
Description of the bug and steps to reproduce:
wget https://github.com/knadh/listmonk/raw/master/docker-compose.yml
LISTMONK_ADMIN_USER
andLISTMONK_ADMIN_PASSWORD
"- 5432:5432"
to- "5432"
to not expose the database port to the host (encountered errors here due to an already exposed port from another container)docker pull
to update needed imagesdocker compose up db
to create a running postgres instancedocker-compose run --rm app ./listmonk --install
to create new databasedocker-compose up
to start app instance<Server-IP>:9000
the dialog to create Super-Admin credentials should show uplocalhost:9000/admin/login
instead of<Server-IP>:9000/admin/login
which cannot work from a remote PC.Edit
Added an Nginx reverse proxy to allow SSL and fully working DNS
Setting the forms action URL to
<Server-DNS-Name>:9000/admin/login
in Firefox web developer console allowed a login.In order to correct the form's action host, change the
Root URL
under Settings -> Settings.But even with reverse proxy, it only works with port 9000 in Root URL. My local DNS resolves to my local net IPs, that's why it is working here.
Update
My
Root URL
was still starting http://With this, the login does not work, if the reverse proxy login originates from https.
Still, the redirect to localhost is a problem after fresh install when trying to configure from external PC.
Did anyone else encounter that localhost redirect problem? Is it possible to add a
Root URL
variable in docker-compose.yml or is there already a possibility to change it there for installation?I am looking forward to use listmonk with keycloak multi-user access. That is the reason for the update to v4.0.0
Thanks for any help.
The text was updated successfully, but these errors were encountered: