We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0168ac commit 8193faeCopy full SHA for 8193fae
templates/Caddyfile.j2
@@ -3,10 +3,10 @@
3
(subproject) {
4
# Caddy doesn't know this is a directory, so redirect to trailing / as
5
# would usually happen for them.
6
- redir /{args.0} /{args.0}/ permanent
+ redir /{args[0]} /{args[0]}/ permanent
7
8
- handle_path /{args.0}/* {
9
- root * {{ caddy.site_dir }}/{args.0}
+ handle_path /{args[0]}/* {
+ root * {{ caddy.site_dir }}/{args[0]}
10
try_files {path}.html {path}
11
file_server {
12
hide .git
0 commit comments