From a5e798d1829a1f81b16a8b01cbbc75aa0171d52a Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Thu, 15 Jan 2026 13:02:32 -0500 Subject: [PATCH] fix config; deploy calls all targets; stop fighting gitea HTML --- Makefile | 1 + etc/nginx/conf.d/git-http.conf | 1 + scripts/gitweb-simplefrontend/services.html | 111 +++++++------------- 3 files changed, 38 insertions(+), 75 deletions(-) diff --git a/Makefile b/Makefile index de4d8ce..0c0757c 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,7 @@ diff/nginx: ##H @Remote Show diff between local and remote .PHONY: deploy/nginx deploy/nginx: ##H @Remote Deploy staged files to remote +deploy/nginx: stage/nginx test/nginx diff/nginx @echo "Deploying checked-in nginx config to $(VPS_HOST)..." ssh -t $(VPS) "bash ~/.nginx-staging/scripts/deploy.sh" diff --git a/etc/nginx/conf.d/git-http.conf b/etc/nginx/conf.d/git-http.conf index 1f872e2..e30c02f 100644 --- a/etc/nginx/conf.d/git-http.conf +++ b/etc/nginx/conf.d/git-http.conf @@ -112,6 +112,7 @@ server { 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 bb3a59a..c2ae839 100644 --- a/scripts/gitweb-simplefrontend/services.html +++ b/scripts/gitweb-simplefrontend/services.html @@ -1,76 +1,37 @@ - + - - NutraTech Git Services - - - -

Git Services Map

-

Generated automatically from Nginx configuration.

- -
-

/v1

-
Original Gitweb (Standard)
-
-
-

/v2

-
Simple Frontend (Theme only)
-
-
-

/v3

-
Gitea (Proxy to localhost:3000)
-
- - + + NutraTech Git Services + + + +

Git Services Map

+

Generated automatically from Nginx configuration.

+ + +
+

/v1

+
Original Gitweb (Standard)
+
+
+

/v2

+
Simple Frontend (Theme only)
+
+
+

/v3

+
Gitea (Proxy to localhost:3000)
+
+ + + \ No newline at end of file -- 2.52.0