From: Shane Jaroch Date: Thu, 15 Jan 2026 18:25:55 +0000 (-0500) Subject: update nginx git site X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=c15b9c6f19e2748a389cbecc93d00daa9858f640;p=nutratech%2Fvps-root.git update nginx git site --- diff --git a/etc/nginx/conf.d/git-http.conf b/etc/nginx/conf.d/git-http.conf index 6cdbb2a..bd63baf 100644 --- a/etc/nginx/conf.d/git-http.conf +++ b/etc/nginx/conf.d/git-http.conf @@ -38,7 +38,7 @@ server { } # ---------------------------------------------------------------------- - # Version 1: Original Gitweb (Standard) + # Version 1: Original Gitweb (Basic) # ---------------------------------------------------------------------- # Static assets for standard gitweb @@ -68,7 +68,7 @@ server { } # ---------------------------------------------------------------------- - # Version 2: Simple Frontend (Theme only) + # Version 2: Simple Frontend (Theme, Primary gitweb) # ---------------------------------------------------------------------- # Custom Theme/Assets Aliases for v2 @@ -104,20 +104,14 @@ server { } # ---------------------------------------------------------------------- - # Version 3: Gitea (Proxy to localhost:3000) + # Version 3: Gitea (Full Server with Backend) # ---------------------------------------------------------------------- location = /admin { return 302 /v3/admin; } - # Shim for Gitea assets/images (since Gitea thinks it is at root) - location /assets/ { proxy_pass http://localhost:3000/assets/; } - location /img/ { proxy_pass http://localhost:3000/img/; } - location = /favicon.ico { proxy_pass http://localhost:3000/favicon.ico; } - location /v3/ { proxy_pass http://localhost:3000/; - proxy_redirect / /v3/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/scripts/gitweb-simplefrontend/services.html b/scripts/gitweb-simplefrontend/services.html index 506590b..c6e0bc0 100644 --- a/scripts/gitweb-simplefrontend/services.html +++ b/scripts/gitweb-simplefrontend/services.html @@ -22,15 +22,15 @@

/v1

-
Original Gitweb (Standard)
+
Original Gitweb (Basic)

/v2

-
Simple Frontend (Theme only)
+
Simple Frontend (Theme, Primary gitweb)

/v3

-
Gitea (Proxy to localhost:3000)
+
Gitea (Full Server with Backend)