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

View File

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