caddy: fix location from where to serve files
This commit is contained in:
+2
-3
@@ -5,9 +5,8 @@
|
||||
# 2. Redirect without trailing slash to ensure correct routing
|
||||
redir /fdroid/repo /fdroid/repo/ 302
|
||||
|
||||
# 3. Strip '/fdroid/repo' from the URL and serve the underlying files
|
||||
handle_path /fdroid/repo/* {
|
||||
root * /repo/fdroid/repo
|
||||
file_server browse
|
||||
root * /src/code/fdroid/repo
|
||||
file_server
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user