Caddy reverse-proxy shows blanks

1. The problem I’m having:

abc.com {

handle /auth/* {
reverse_proxy localhost:3001
}
handle /mbase/* {
reverse_proxy localhost:3000
}
handle /* {
reverse_proxy localhost:4200
}

}

When started only abc.com/admin works. The others shows blanks or white page.

The same configuration on nginx works 
server {
        server_name  abc.com
        listen 80;
    location / {
            proxy_pass http://localhost:4200;
        }

    location /mbase/ {
           proxy_pass http://localhost:3000/;
}
location /auth/ {
proxy_pass http://localhost:3000/;
}

2. Error messages and/or full log output:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

3. Caddy version:

v2.6.4 h1:2hwYqiRwk1tf3VruhMpLcYTg+11fCdr8S3jhNAdnPy8=

4. How I installed and ran Caddy:

sudo apt-get caddy

a. System environment:

Ubuntu

b. Command:

caddy start with Caddyfile

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

c. Service/unit/compose file:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

d. My complete Caddy config:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

5. Links to relevant resources:

Please completely fill out the help topic template, as per the forum rules. We can’t help otherwise.

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