2
0
Fork 0

caddy (snippets): modify homedir path

main
Ducky 2023-08-12 23:51:54 +01:00
parent 636ca435c2
commit 523304f233
1 changed files with 1 additions and 1 deletions

View File

@ -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]*