From 3e4ae36359f61ea3e75ebda6727c7f25107559e7 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Wed, 13 Jul 2022 18:18:17 -0500 Subject: [PATCH] Remove static assets from gitea --- conf.d/git.bbaovanc.com | 5 ----- 1 file changed, 5 deletions(-) diff --git a/conf.d/git.bbaovanc.com b/conf.d/git.bbaovanc.com index 39204a7..59d0b4f 100644 --- a/conf.d/git.bbaovanc.com +++ b/conf.d/git.bbaovanc.com @@ -4,11 +4,6 @@ git.bbaovanc.com { encode zstd gzip import hsts - handle_path /_/static/assets/* { - root * /var/www/git.bbaovanc.com/public - file_server - } - handle { reverse_proxy localhost:81 { header_up X-Real-IP {remote_host}