docker-cabot
docker-cabot copied to clipboard
Deployment on DigitalOcean
Hi, I'm trying to deploy this on a DO droplet. I'm pretty new to this and I ran into a problem.
I followed the instructions from here: https://cabotapp.com/qs/quickstart.html (cloned the repository, made the production.env file, and ran docker compose with caddy as a reverse proxy).
This is my Caddyfile:
subdomain.domain.com {
proxy / http://127.0.0.1:5000 {
header_upstream Host {host}
}
}
But when I go to subdomain.domain.com I get "502 Bad Gateway".
Anyone has an idea what could be wrong?
I got it to work! I had to set insecure_skip_verify in my Caddyfile. See: https://caddy.community/t/im-getting-502-bad-gateway-errors-with-proxy/4505/2