caddy (snippets): modify homedir path
parent
636ca435c2
commit
523304f233
|
@ -8,7 +8,7 @@
|
||||||
@user_home path_regexp user ^/~([^/]+)(/.*)?$
|
@user_home path_regexp user ^/~([^/]+)(/.*)?$
|
||||||
handle @user_home {
|
handle @user_home {
|
||||||
redir /~{re.user.1} /~{re.user.1}/ permanent
|
redir /~{re.user.1} /~{re.user.1}/ permanent
|
||||||
root * {args.0}{re.user.1}/WWW
|
root * {args.0}{re.user.1}/www
|
||||||
rewrite * {re.user.2}
|
rewrite * {re.user.2}
|
||||||
file_server browse {
|
file_server browse {
|
||||||
hide .[A-Za-z]*
|
hide .[A-Za-z]*
|
||||||
|
|
Loading…
Reference in New Issue