diff --git a/conf.d/git.bbaovanc.com b/conf.d/git.bbaovanc.com index a9f38a2..1099878 100644 --- a/conf.d/git.bbaovanc.com +++ b/conf.d/git.bbaovanc.com @@ -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 + } + } } }