My environment is, a docker container running wordpress on apache can be accessed via ip:port
. The host environment has an apache instance which redirects traffic that comes to http://myurl
to localhost:port
using mod proxy (I have the same set up with other docker containers in the same host which is working fine). But accessing http://myurl
(after changing the wordpress config) will just redirect you to localhost (in the wordpress container’s apache log i can see it giving a 301 to redirect you) .
The problem is only there when you access the base url. (http://myurl/wp-login.php works)
Host Apache config:
This works (in wp-config.php
):
This doesn’t
These are the wordpress plugins i have enabled. But note that i changed their configs accordingly as well.
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com