"No such site at :80"

Hi! Caddy seems like a great tool but I have not been able to get it up and running yet. I am trying to get Caddy running on a Raspberry Pi 2 running Ubuntu Server, hooked up to my home router. I installed Caddy via the script on getcaddy.com. I tried to get it to serve up a basic index.html file but I get the message “No such site at :80” when I view it in my browser on a computer on the same network (so maybe it’s a firewall issue?). I am running the “caddy” command in the same folder as the file and the Caddyfile.

Caddyfile:

localhost:80
gzip
ext .html

Thank you for your help!

Ok, it started working when I connected it to a url!

Yeah the address in the Caddyfile needs to match that in the URL. :wink:

I’ve had a similar problem with Caddy (for serving static files) behind a Haproxy. Just posting for future reference.

backend angular
  mode http
  option http-server-close
  http-request set-header Host localhost:9584
  server angular localhost:9584

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