Archived
1
0
forked from rarias/bscpkgs

Enable gitea in tent

Reviewed-by: Aleix Boné <abonerib@bsc.es>
Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
2025-06-13 11:10:39 +02:00
parent 68ff45075c
commit 560003d4fd
3 changed files with 36 additions and 0 deletions

View File

@@ -34,6 +34,12 @@ in
real_ip_recursive on;
real_ip_header X-Forwarded-For;
location /git {
rewrite ^/git$ / break;
rewrite ^/git/(.*) /$1 break;
proxy_pass http://127.0.0.1:3000;
proxy_redirect http:// $scheme://;
}
location /cache {
rewrite ^/cache/(.*) /$1 break;
proxy_pass http://127.0.0.1:5000;