Remove the 404 redirect from gitea
This commit is contained in:
parent
3e4ae36359
commit
21dc225361
@ -8,18 +8,18 @@ git.bbaovanc.com {
|
||||
reverse_proxy localhost:81 {
|
||||
header_up X-Real-IP {remote_host}
|
||||
|
||||
@404 status 404
|
||||
handle_response @404 {
|
||||
handle /bbaovanc/* {
|
||||
root * /etc/caddy/github-redirect/
|
||||
rewrite * /index.php?uri={uri}
|
||||
php_fastcgi unix//run/php/php-fpm.sock
|
||||
}
|
||||
#@404 status 404
|
||||
#handle_response @404 {
|
||||
# handle /bbaovanc/* {
|
||||
# root * /etc/caddy/github-redirect/
|
||||
# rewrite * /index.php?uri={uri}
|
||||
# php_fastcgi unix//run/php/php-fpm.sock
|
||||
# }
|
||||
|
||||
handle {
|
||||
copy_response
|
||||
}
|
||||
}
|
||||
# handle {
|
||||
# copy_response
|
||||
# }
|
||||
#}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user