Replies: 1 comment
-
https://github.com/docker-library/docs/tree/master/wordpress#how-to-use-this-image
There's also quite a few past issues on this repo about using nginx as a reverse proxy that might help You could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow |
Beta Was this translation helpful? Give feedback.
-
I have an Ubuntu server 20.04
I have nginx installed on that server (nginx is not dockerized)
There are many docker apps running which nginx is proxying for fine.
I am trying to run Wordpress in a docker container using the official Wordpress image and point my domain to nginx which uses proxy_pass to point it to Wordpress container.
When I spin up my docker container, I can access it fine via the IP address but when I try to access it via my domain, I get a redirect loop.
Here is my setup:
DNS Records
nginx config
docker-compose.yml
The error I'm getting:

Beta Was this translation helpful? Give feedback.
All reactions