Nginx proxy_pass to wordpress docker container
Solution 1:
It may help to set some headers so that the upstream knows the correct frontend server name. See this document for more.
For example, I use:
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Accept-Encoding "";
proxy_set_header Proxy "";
Also, check that your HOME and SITEURL settings are correct. See this document for details.