8863c8887c
- Add copyright headers (sorry) - Re-order tasks - Add missing wsgi required packages - Use template instead of file for default ansible.cfg - Use handler to restart apache if need be - Use command instead of shell unless necessary - Fix mistakes in systemd service - Fix mistakes in debian family required packages - Add friendly instructions at the end of the setup - Improve README Change-Id: I84d59facfdc593bc82ac1d1436a49f85c2d1637b
19 lines
537 B
Django/Jinja
19 lines
537 B
Django/Jinja
<VirtualHost *:{{ ara_port }}>
|
|
ServerName {{ ara_host }}
|
|
|
|
ErrorLog {{ apache_log_path }}/ara-error.log
|
|
LogLevel warn
|
|
CustomLog {{ apache_log_path }}/ara-access.log combined
|
|
|
|
WSGIDaemonProcess ara user={{ apache_user }} group={{ apache_group }} processes=1 threads=4
|
|
WSGIScriptAlias / /var/www/ara/ara-wsgi
|
|
|
|
SetEnv ANSIBLE_CONFIG {{ ara_config_path }}
|
|
|
|
<Directory /var/www/ara>
|
|
WSGIProcessGroup ara
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
Require all granted
|
|
</Directory>
|
|
</VirtualHost>
|