From da8d00a517b46a0a41c2121d93a2474549eba0d7 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 16 Aug 2013 20:03:57 +0000 Subject: [PATCH] Use httpd aliases for static resources. --- roles/badges-frontend/files/tahrir.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/badges-frontend/files/tahrir.conf b/roles/badges-frontend/files/tahrir.conf index d5bc4622c4..b65d7041d0 100644 --- a/roles/badges-frontend/files/tahrir.conf +++ b/roles/badges-frontend/files/tahrir.conf @@ -1,5 +1,5 @@ -# We serve static resources dynamically for now. -#Alias /static /usr/share/tahrir/static +Alias /static /usr/lib/python2.6/site-packages/tahrir/static +Alias /pngs /usr/share/badges/pngs WSGIDaemonProcess tahrir user=tahrir group=tahrir maximum-requests=1000 display-name=tahrir processes=4 threads=4 WSGISocketPrefix run/wsgi