From 860b5bcd8dfe8cfca99783398d9348fef8c5d0a8 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Thu, 22 Jan 2026 15:03:54 -0500 Subject: [PATCH] fix overwrite/double-generation, fix /v3 redirect --- etc/nginx/conf.d/dev/git-http.conf | 4 ++-- scripts/deploy.sh | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/etc/nginx/conf.d/dev/git-http.conf b/etc/nginx/conf.d/dev/git-http.conf index c59f8b0..c9cf7ff 100644 --- a/etc/nginx/conf.d/dev/git-http.conf +++ b/etc/nginx/conf.d/dev/git-http.conf @@ -98,9 +98,9 @@ server { } # ---------------------------------------------------------------------- - # /v3/ redirect -> root + # /v3 redirect -> root # ---------------------------------------------------------------------- - location = /v3/ { + location = /v3 { return 302 /; } diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 87090a5..2f2f72c 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -191,11 +191,7 @@ if sudo nginx -t; then sudo chown -R www-data:www-data /srv/git/ fi - # Generate Homepage (always, as a failsafe) - echo "Generating services map..." - python3 "$REPO_ROOT/scripts/gen_services_map.py" - - # Deploy Homepage + # Deploy Homepage (already generated during local staging) if [ -f "$REPO_ROOT/scripts/homepage.html" ]; then echo "Deploying Homepage..." sudo mkdir -p /var/www -- 2.52.0