2022-11-13 02:52:53 +00:00
|
|
|
http://localhost:6660 {
|
2022-11-13 05:23:46 +00:00
|
|
|
route {
|
2022-11-17 17:19:34 +00:00
|
|
|
file_server /* {
|
2022-11-13 05:23:46 +00:00
|
|
|
pass_thru
|
|
|
|
root www/
|
|
|
|
}
|
|
|
|
reverse_proxy localhost:8000 {
|
|
|
|
@accel header X-Accel-Redirect *
|
|
|
|
handle_response @accel {
|
|
|
|
root * /path/to/0x0/
|
|
|
|
rewrite * {rp.header.X-Accel-Redirect}
|
|
|
|
file_server
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-11-13 02:52:53 +00:00
|
|
|
}
|