wordpress+docker+apache mod proxy redirects to http://localhost

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.

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • 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