diff options
author | Jonas Smedegaard <dr@jones.dk> | 2016-04-29 21:00:57 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2016-04-29 21:00:57 +0200 |
commit | 6700f85e06ef481a25969485dcc01c05ec56c322 (patch) | |
tree | acced8ac215e563db2bef511b71ae2104656bd8a /cgit/uwsgi/apps-available | |
parent | 8efe70bacf1c01318a96fea73ae88b09338ec048 (diff) |
Fix syntax, and use potentially safer (due to in some incarnations server-resolved rather than client-provided) SERVER_NAME.
Diffstat (limited to 'cgit/uwsgi/apps-available')
-rw-r--r-- | cgit/uwsgi/apps-available/local-git.ini | 4 |
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 |