• I have installed wordpress on kubernetes
    So i have 2 docker container:
    nginx IP: 10.42.0.84
    php IP: 10.42.0.87

    when 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 9000

    Now 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.84

    it’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

    • This topic was modified 4 years, 9 months ago by giancarlo74.
    • This topic was modified 4 years, 9 months ago by giancarlo74.
Viewing 1 replies (of 1 total)
  • This is not a Simply Static specific problem. When you execute wget https://www.my-site.com (or the curl equivalent) from the php container you probably won’t get a proper response. wget https://nginx will point to the right IP address, but I don’t think Nginx will handle that domain. Maybe you can change the Nginx configuration.

Viewing 1 replies (of 1 total)
  • The topic ‘Checking if WordPress can make requests to itself from’ is closed to new replies.