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:
parent
010c405ec1
commit
c217e26f73
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue