From 6700f85e06ef481a25969485dcc01c05ec56c322 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 29 Apr 2016 21:00:57 +0200 Subject: Fix syntax, and use potentially safer (due to in some incarnations server-resolved rather than client-provided) SERVER_NAME. --- cgit/uwsgi/apps-available/local-git.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgit') 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 -- cgit v1.2.3