From 40e55514652825826123e55a66ddcc0dd0dc81d4 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 12 Apr 2019 15:16:02 -0400 Subject: Update git.sr.ht nginx config --- git.sr.ht/installation.md | 5 ----- 1 file changed, 5 deletions(-) (limited to 'git.sr.ht/installation.md') diff --git a/git.sr.ht/installation.md b/git.sr.ht/installation.md index d653f6c..ef44c6b 100644 --- a/git.sr.ht/installation.md +++ b/git.sr.ht/installation.md @@ -61,11 +61,6 @@ location = /authorize { proxy_set_header X-Original-URI $request_uri; } -location ~ ^.*/objects/([0-9a-f]+/[0-9a-f]+|pack/pack-[0-9a-f]+.(pack|idx)).*$ { - auth_request /authorize; - root /var/lib/git; -} - location ~ ^.*/(HEAD|info/refs|objects/info/.*|git-(upload|receive)-pack).*$ { auth_request /authorize; root /var/lib/git; -- cgit