summaryrefslogtreecommitdiff
path: root/cgit
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2016-04-29 21:00:57 +0200
committerJonas Smedegaard <dr@jones.dk>2016-04-29 21:00:57 +0200
commit6700f85e06ef481a25969485dcc01c05ec56c322 (patch)
treeacced8ac215e563db2bef511b71ae2104656bd8a /cgit
parent8efe70bacf1c01318a96fea73ae88b09338ec048 (diff)
Fix syntax, and use potentially safer (due to in some incarnations server-resolved rather than client-provided) SERVER_NAME.
Diffstat (limited to 'cgit')
-rw-r--r--cgit/uwsgi/apps-available/local-git.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgit/uwsgi/apps-available/local-git.ini b/cgit/uwsgi/apps-available/local-git.ini
index 061c46f..bd04928 100644
--- a/cgit/uwsgi/apps-available/local-git.ini
+++ b/cgit/uwsgi/apps-available/local-git.ini
@@ -17,5 +17,5 @@ cgi = /usr/lib/cgit/cgit.cgi
; cache indexes
cache2 = name=indexes,items=100
-route = /$ cache:key=${$HTTP_HOST}:${REQUEST_URI},name=indexes
-route = /$ cachestore:key=${$HTTP_HOST}:${REQUEST_URI},name=indexes
+route = /$ cache:key=${SERVER_NAME}:${REQUEST_URI},name=indexes
+route = /$ cachestore:key=${SERVER_NAME}:${REQUEST_URI},name=indexes