jeffa.io/www/Caddyfile

18 lines
215 B
Caddyfile
Raw Normal View History

2023-05-19 13:32:14 +00:00
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
}
}