jeffa.io/www/Caddyfile

20 lines
261 B
Caddyfile
Raw Normal View History

2023-08-17 20:33:59 +00:00
localhost:8080 {
redir http://www.{host}:{port}{uri}
}
2023-05-19 13:32:14 +00:00
jeffa.io {
redir https://www.{host}{uri}
}
www.localhost:8080,
www.jeffa.io {
root * /srv/
file_server {
2023-08-17 20:33:59 +00:00
index /srv/index.html
2023-05-19 13:32:14 +00:00
}
rewrite @not_html {path}.html
@not_html {
not path *.html
}
}