diff --git a/roles/libravatar/templates/httpd/libravatar-app.include b/roles/libravatar/templates/httpd/libravatar-app.include index 34dbf3c9ed..74fb7e13df 100644 --- a/roles/libravatar/templates/httpd/libravatar-app.include +++ b/roles/libravatar/templates/httpd/libravatar-app.include @@ -1,7 +1,3 @@ -WSGIPassAuthorization On -WSGIDaemonProcess libravatar user=apache group=apache threads=25 display-name=libravatar maximum-requests=10000 graceful-timeout=20 python-home=/mnt/data/.virtualenv python-path=/srv/libravatar -WSGIScriptAlias / /mnt/data/wsgi.py - ScriptAlias "/cgi-bin/" "/mnt/data/cgi-bin/" Alias /robots.txt /srv/libravatar/static/robots.txt diff --git a/roles/libravatar/templates/httpd/libravatar.conf b/roles/libravatar/templates/httpd/libravatar.conf index 34d7edf49c..79da0b047b 100644 --- a/roles/libravatar/templates/httpd/libravatar.conf +++ b/roles/libravatar/templates/httpd/libravatar.conf @@ -1,4 +1,9 @@ WSGISocketPrefix /var/run/wsgi + +WSGIPassAuthorization On +WSGIDaemonProcess libravatar user=apache group=apache threads=25 display-name=libravatar maximum-requests=10000 graceful-timeout=20 python-home=/mnt/data/.virtualenv python-path=/srv/libravatar +WSGIScriptAlias / /mnt/data/wsgi.py + RewriteEngine on