From 21dc225361873eef69f48a6505bc616f4b807ea0 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Thu, 15 Sep 2022 19:42:55 -0500 Subject: [PATCH] Remove the 404 redirect from gitea --- conf.d/git.bbaovanc.com | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/conf.d/git.bbaovanc.com b/conf.d/git.bbaovanc.com index 59d0b4f..78bdc7e 100644 --- a/conf.d/git.bbaovanc.com +++ b/conf.d/git.bbaovanc.com @@ -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 + # } + #} } }