aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-04-12 15:16:02 -0400
committerDrew DeVault <sir@cmpwn.com>2019-04-12 15:16:02 -0400
commit40e55514652825826123e55a66ddcc0dd0dc81d4 (patch)
treed5bd273f83b19edd2ce3e98ab0c8e4e28386f9da
parent5c0ab0d0ad3197e624844ed443ed39435e180e4c (diff)
downloadsr.ht-docs-40e55514652825826123e55a66ddcc0dd0dc81d4.tar.gz
Update git.sr.ht nginx config
-rw-r--r--git.sr.ht/installation.md5
1 files changed, 0 insertions, 5 deletions
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;