mirror of
https://github.com/wahyd4/aria2-ariang-docker.git
synced 2026-08-09 05:15:55 +10:00
31 lines
394 B
Caddyfile
31 lines
394 B
Caddyfile
#{
|
|
# auto_https off
|
|
#}
|
|
|
|
{$DOMAIN}
|
|
|
|
redir /ui / 301
|
|
redir /ui/ / 301
|
|
redir /rclone /rclone/ 301
|
|
redir /files /files/ 301
|
|
|
|
reverse_proxy /jsonrpc 127.0.0.1:6800
|
|
|
|
route /rclone/* {
|
|
uri strip_prefix /rclone
|
|
reverse_proxy 127.0.0.1:5572
|
|
}
|
|
|
|
route /files/* {
|
|
uri strip_prefix /files
|
|
reverse_proxy 127.0.0.1:8080
|
|
}
|
|
|
|
root * /usr/local/www/aria2
|
|
file_server
|
|
|
|
encode gzip
|
|
log {
|
|
output stderr
|
|
}
|