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

Redirect to localhost #154

Open
Hawolex opened this issue Feb 14, 2025 · 2 comments
Open

Redirect to localhost #154

Hawolex opened this issue Feb 14, 2025 · 2 comments

Comments

@Hawolex
Copy link

Hawolex commented Feb 14, 2025

New docker comppose installl on Ubuntu 24.04
all containers starts good.

Image

when i try to enter server ip i get redirect to localhost.
docker compose loggs show:

php-1 | 172.18.0.5 - 14/Feb/2025:20:45:09 +0000 "GET /index.php" 302 php-1 | 172.18.0.5 - 14/Feb/2025:20:45:10 +0000 "GET /index.php" 302 php-1 | 127.0.0.1 - 14/Feb/2025:20:45:13 +0000 "- " 200 php-1 | 127.0.0.1 - 14/Feb/2025:20:45:18 +0000 "- " 200 php-1 | 127.0.0.1 - 14/Feb/2025:20:45:23 +0000 "- " 200 php-1 | 127.0.0.1 - 14/Feb/2025:20:45:28 +0000 "- " 200
The .env.docker have changes variable
DOCKER_WORDPRESS_URL=http://192.168.80.206
even tried with url pointed at host

Where to start now?

@Hawolex
Copy link
Author

Hawolex commented Feb 18, 2025

Would have been nice with some help here.
can`t for the heck figure out why all attempt to connect redirect to localhost in browser.

@Hawolex
Copy link
Author

Hawolex commented Feb 18, 2025

Now i even tried to put the url in the .env.docker befor building the img again. but docker logs still only output:

php-1 | 127.0.0.1 - 18/Feb/2025:17:57:56 +0000 "- " 200

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

1 participant