Skip to content

Commit ba9155e

Browse files
committed
Use *.html for /* requests where present
1 parent e8ee0df commit ba9155e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Caddyfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{$DOMAIN:http://localhost} {
22
root * /site
3+
try_files {path}.html {path} {path}/index.html
34
file_server
45
encode zstd gzip
56

0 commit comments

Comments
 (0)