Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment on DigitalOcean #29

Open
tinamrak opened this issue Apr 1, 2019 · 1 comment
Open

Deployment on DigitalOcean #29

tinamrak opened this issue Apr 1, 2019 · 1 comment

Comments

@tinamrak
Copy link

tinamrak commented Apr 1, 2019

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?

@tinamrak
Copy link
Author

tinamrak commented Apr 1, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant