Comment on Best way to dockerize a static website?

<- View Parent
smileyhead@discuss.tchncs.de ⁨8⁩ ⁨months⁩ ago

Serving static app in Caddy:

sudo apt install caddy sudo systemctl enable --now caddy

Then in /etc/caddy/Caddyfile:

example.com {
   root * /var/www/html
   file_server
}

That’s all, really.

source
Sort:hotnewtop