fi(gitea): add redirect for /v3/ and /v3 master
authorShane Jaroch <chown_tee@proton.me>
Fri, 23 Jan 2026 19:07:20 +0000 (14:07 -0500)
committerShane Jaroch <chown_tee@proton.me>
Fri, 23 Jan 2026 19:07:31 +0000 (14:07 -0500)
etc/nginx/conf.d/dev/git-http.conf

index c9cf7ff87010cd0b9c3a3dbb60c8cc4b591d8990..f13cd857cbe72272859926d9e5ef293e5c474c89 100644 (file)
@@ -103,6 +103,9 @@ server {
     location = /v3 {
         return 302 /;
     }
+    location = /v3/ {
+        return 302 /;
+    }
 
     # ----------------------------------------------------------------------
     # Version 3: Gitea (Full Server with Backend, Main)