mirror of
https://github.com/wahyd4/aria2-ariang-docker.git
synced 2026-08-08 21:05:50 +10:00
35 lines
428 B
Caddyfile
35 lines
428 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
|
|
}
|
|
|
|
route /ping {
|
|
respond "pong"
|
|
}
|
|
|
|
root * /usr/local/www/aria2
|
|
file_server
|
|
|
|
encode gzip
|
|
log {
|
|
output stderr
|
|
}
|