Caddy 2: Reverse proxy into WordPress Docker Container

I’m running wordpress inside a docker container, let’s say the docker container name + port is wordpress:80. Now, I’m trying to use a reverse-proxy to direct my domain to this container.

I’m running caddy 2 with following config file… {
    encode gzip
    reverse_proxy wordpress:80

But when I visit the domain I see a blank page with no HTML content. Am I doing something wrong here?

There could be plenty of things going wrong.

You didn’t fill out the thread template, which asks for you to post your logs. This would help narrow things down.

Also, make sure to check the logs for your wordpress container as well, it may be throwing errors for any number of reasons.

There’s not enough information here for us to effectively help. You’ll need to explain in more detail.

This topic was automatically closed after 30 days. New replies are no longer allowed.