mirror of
https://github.com/alerta/alerta.git
synced 2025-02-05 14:09:44 +00:00
23 lines
716 B
Text
23 lines
716 B
Text
WSGISocketPrefix /run/wsgi
|
|
|
|
<VirtualHost *:80>
|
|
|
|
#ServerName localhost
|
|
RedirectMatch permanent ^/$ /dashboard/
|
|
RedirectMatch permanent ^/dashboard/?$ /dashboard/index.html
|
|
|
|
WSGIDaemonProcess alerta-dashboard user=alerta group=alerta threads=50
|
|
WSGIScriptAlias / /opt/alerta/apache/dashboard.wsgi
|
|
|
|
ErrorLog /var/log/httpd/alerta-dashboard-error.log
|
|
CustomLog /var/log/httpd/alerta-dashboard-access.log common
|
|
|
|
Alias /dashboard/v2/assets/ /opt/alerta/lib/python2.6/site-packages/alerta/dashboard/v2/assets/
|
|
|
|
<Directory /opt/alerta>
|
|
WSGIProcessGroup alerta
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
</VirtualHost>
|