You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this a set of docker images to run wordpress on localhost: https://github.com/wodby/docker4wordpress I have a problem with cURL command when i run this tool from php files or from php container. cURL works only when i run it from nginx command line. How to config docker-compose to run cURL and repair wordpress cron. My config:
owline@owline-Lenovo-Legion-5-15ARH05:~$ docker network ls
NETWORK ID NAME DRIVER SCOPE
b9309fcd7b7c bridge bridge local
427502257d25 host host local
18418489a0d5 none null local
985e9f39dab9 talenti_default bridge local
The text was updated successfully, but these errors were encountered:
For me, this fixed the loopback error and rest api error reported on the "site health" page in wordpress.
@csandanov this is a potential fix for numerous obscure loopback and rest API related issues that have been reported over time here.
I think this just ended up breaking things for me...
unless I'm doing something wrong, when I add the alias mysite.docker.localhost (and the domain and docker.localhost pointed in my host file to 127.0.0.1 ) I just get a 404.
I think because the ailas and main one are competing or something? 🤷
Would love to figure out loopbacks.
@audetcameron indeed that alias seems not to work anymore. At the time I wrote the original post it did solve both the loopback and the rest api errors for me, but now using that alias those errors are back. I get the same errors either with or without the alias now. back to square one.
Codebase
Built-in vanilla WordPress
Host OS
Ubuntu 20.04
Docker info output
I used this a set of docker images to run wordpress on localhost: https://github.com/wodby/docker4wordpress I have a problem with cURL command when i run this tool from php files or from php container. cURL works only when i run it from nginx command line. How to config docker-compose to run cURL and repair wordpress cron. My config:
docker-compose
and traefik docker-compose
The text was updated successfully, but these errors were encountered: