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.