Caddy server start failed

(Petr Friede) #1

Im install and set up caddy server but i see after systemctl status caddy.service -l

caddy failed … error :///

My caddy is on ubuntu 18.04 across vmware workstation 15 PRO

My CaddyFile {
        root /var/www/

in i have index.html

Result in browser :
404 Not Found

(Matthew Fay) #2

Hi @petr_friede, welcome to the Caddy community.

Can you post the output of the systemd logs?

Could you also run curl -ILX GET localhost:2015 and post the output of that?

At a glance, your Caddyfile looks good.

(Toby Allen) #3

What do you get if you go to