Skip to content

Commit

Permalink
Clean up Caddyfile
Browse files Browse the repository at this point in the history
Remove unused "named" matcher rule. Fix spacing.
  • Loading branch information
dontlaugh committed Feb 27, 2023
1 parent a12436b commit c73c8ee
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Caddyfile
Expand Up @@ -3,19 +3,13 @@


:80 {
# Set this path to your site's directory.
@htmlext {
path_regexp static (/.*)\.(html?)$
}

root * /usr/share/caddy
try_files {path}.html {path}

try_files {path}.html {path}

# Enable the static file server.
file_server
}

# Refer to the Caddy docs for more information:
# https://caddyserver.com/docs/caddyfile

0 comments on commit c73c8ee

Please sign in to comment.