Checking if WordPress can make requests to itself from
-
I have installed wordpress on kubernetes
So i have 2 docker container:
nginx IP: 10.42.0.84
php IP: 10.42.0.87when i navigate on https://www.my-site.com,
the browser connect to nginx 10.42.0.84
then nginx connect to php 10.42.0.87 on port 9000Now the problem on simply static is that this want connect to 10.42.0.87
it doesn’t know that it must connect to 10.42.0.84it’s possibile set in the plugin the real ip ?
Another solution would be to connect to the https://www.my-site.com domain name and not to the IP
Can you tell me which function detects the ip ?
in which file?I was thinking of temporarily forcing the right IP directly into the code
- The topic ‘Checking if WordPress can make requests to itself from’ is closed to new replies.