:8080 { # 1. Exact match redirect from root to the repo redir / /fdroid/repo/ 302 # 2. Redirect without trailing slash to ensure correct routing redir /fdroid/repo /fdroid/repo/ 302 handle_path /fdroid/repo/* { root * /src/code/fdroid/repo file_server } }