From 7aec70640a44ddfb43b7776487548bb67c630cb8 Mon Sep 17 00:00:00 2001 From: jv Date: Mon, 25 May 2026 13:23:53 -0500 Subject: [PATCH] Strip Gitea edge subpath before proxying --- bootstrap/edge/templates/default.conf.tftpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/edge/templates/default.conf.tftpl b/bootstrap/edge/templates/default.conf.tftpl index 79738a7..6967115 100644 --- a/bootstrap/edge/templates/default.conf.tftpl +++ b/bootstrap/edge/templates/default.conf.tftpl @@ -83,7 +83,7 @@ server { limit_req zone=one burst=20 nodelay; client_max_body_size 512m; - proxy_pass http://${backend_host}:${gitea_backend_port}; + proxy_pass http://${backend_host}:${gitea_backend_port}/; proxy_http_version 1.1; proxy_request_buffering off; proxy_read_timeout 300s;