Redirect 404's on git.bbaovanc.com/bbaovanc/* to GitHub

This commit is contained in:
BBaoVanC 2022-06-20 16:22:31 -05:00
parent 6e70a8750d
commit 44312da34c
1 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,17 @@ git.bbaovanc.com {
handle {
reverse_proxy localhost:81 {
header_up X-Real-IP {remote_host}
@404 status 404
handle_response @404 {
handle /bbaovanc/* {
redir https://github.com{uri} temporary
}
handle {
copy_response
}
}
}
}