Remove the 404 redirect from gitea

This commit is contained in:
BBaoVanC 2022-09-15 19:42:55 -05:00
parent 3e4ae36359
commit 21dc225361

View File

@ -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
# }
#}
}
}