0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-24 17:29:39 +00:00
alerta_alerta/contrib/apache/httpd-alerta.conf
2015-03-12 15:07:24 +00:00

16 lines
474 B
Text

Listen 8080
WSGISocketPrefix /var/run/wsgi
<VirtualHost *:8080>
ServerName localhost
WSGIDaemonProcess alerta processes=5 threads=5
WSGIProcessGroup alerta
WSGIScriptAlias / /var/www/api.wsgi
WSGIPassAuthorization On
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:80>
ProxyPass /api http://localhost:8080
ProxyPassReverse /api http://localhost:8080
DocumentRoot /var/www
</VirtualHost>