jeffa.io/www/Caddyfile
2023-05-19 09:32:14 -04:00

18 lines
215 B
Caddyfile

localhost:8080,
jeffa.io {
redir https://www.{host}{uri}
}
www.localhost:8080,
www.jeffa.io {
root * /srv/
file_server {
index index.html
}
rewrite @not_html {path}.html
@not_html {
not path *.html
}
}