Redirect 404's on git.bbaovanc.com/bbaovanc/* to GitHub
This commit is contained in:
parent
6e70a8750d
commit
44312da34c
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user