fix gitea

This commit is contained in:
2026-02-16 13:57:28 +00:00
parent 11ad0b5a83
commit b506bae515
3 changed files with 4 additions and 5 deletions

View File

@@ -99,11 +99,11 @@ http {
}
location /gitea {
return 301 /radio/;
return 301 /gitea/;
}
location /gitea/ {
proxy_pass http://$GITEA_HOST:$GITEA_HTTPS_PORT/;
proxy_pass http://$GITEA_HOST:$GITEA_PORT/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;