Update fmn Apache conf for staging

Static files have moved from fmn.web to fmn, so this fixes the Apache
httpd configuration to point to the new locations in staging.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
Jeremy Cline 2017-06-12 20:36:21 +00:00
parent 010c405ec1
commit c217e26f73

View file

@ -1,4 +1,8 @@
Alias /notifications/static /usr/share/fmn.web/static
{% if env == 'staging' %}
Alias /notifications/static /usr/share/fmn/static
{% else %}
Alias /notifications/static /usr/share/fmn/static
{% endif %}
WSGIDaemonProcess fmn user=apache group=apache maximum-requests=1000 display-name=fmn processes={{ wsgi_procs }} threads={{ wsgi_threads }}
WSGISocketPrefix run/wsgi
@ -6,7 +10,11 @@ WSGIRestrictStdout On
WSGIRestrictSignal Off
WSGIPythonOptimize 1
{% if env == 'staging' %}
WSGIScriptAlias /notifications /usr/share/fmn/fmn.web.wsgi
{% else %}
WSGIScriptAlias /notifications /usr/share/fmn.web/fmn.web.wsgi
{% endif %}
<Location /notifications>
WSGIProcessGroup fmn