Updated Caddy webserver frontend (markdown)

Dan Schaper 2016-10-30 06:34:15 -07:00
parent 6e96c05675
commit 7f3a956c4a

@ -9,7 +9,7 @@ server.port = 1080
In this case I chose `1080` somewhat at random. Use whatever feels right to you. In this case I chose `1080` somewhat at random. Use whatever feels right to you.
Next, restart the lighttpd server with `sudo service lighttpd restart` (may differ if you're not using systemd). Next, restart the lighttpd server with `sudo systemctl restart lighttpd` or `sudo service lighttpd restart`.
# Setting up your Caddyfile # Setting up your Caddyfile
Now we need to set up a "virtual host" in our Caddyfile (default `/etc/caddy/Caddyfile`). There are many more options you can add, but at bare minimum you need to make a "default" host by binding `0.0.0.0:80` which will accept requests for any host. Now we need to set up a "virtual host" in our Caddyfile (default `/etc/caddy/Caddyfile`). There are many more options you can add, but at bare minimum you need to make a "default" host by binding `0.0.0.0:80` which will accept requests for any host.