Enable caddy file server (#246)

* Enable caddy file server by default

* Update readme
This commit is contained in:
2025-03-07 13:01:28 +11:00
committed by GitHub
parent e3beaca19e
commit 4c2cb0ddaf
3 changed files with 14 additions and 0 deletions
+7
View File
@@ -9,6 +9,7 @@ redir /ui / 301
redir /ui/ / 301
redir /rclone /rclone/ 301
redir /files /files/ 301
redir /ro /ro/ 301
reverse_proxy /rpc 127.0.0.1:6800
reverse_proxy /jsonrpc 127.0.0.1:6800
@@ -23,6 +24,12 @@ route /files/* {
reverse_proxy 127.0.0.1:8080
}
route /ro/* {
uri strip_prefix /ro
root * /data
file_server browse
}
route /ping {
respond "app version: {env.APP_VERSION}"
}
+1
View File
@@ -72,6 +72,7 @@ File Browser
```
* Aria2: <http://yourip:8000>
* Caddy File Server(Read Only) <http://yourip:8000/ro>
* FileManger: <http://yourip:8000/files>
* Rclone: <http://yourip:8000/rclone>
* Please use `admin`/`admin` as username and password to login `Filebrowser` for the first time. And use `user`/`password` to login `Rclone` if you don't update `ARIA2_USER` and `ARIA2_PWD`
+6
View File
@@ -27,6 +27,12 @@ route /files/* {
reverse_proxy 127.0.0.1:8080
}
route /ro/* {
uri strip_prefix /ro
root * /data
file_server browse
}
route /ping {
respond "app version: {env.APP_VERSION}"
}