ansible/lava: Add role for lava server
[lttng-ci.git] / automation / ansible / roles / lava-server / files / vhost-tls.conf
1 <VirtualHost *:443>
2 ServerAdmin webmaster@localhost
3
4 SSLEngine On
5 SSLCertificateKeyFile /etc/ssl/private/internal.efficios.com.key
6 SSLCertificateFile /etc/ssl/certs/internal.efficios.com.pem
7
8 Alias /tmp/ /var/lib/lava/dispatcher/tmp/
9
10 # Let apache2 handle these URIs
11 ProxyPass /tmp !
12 # Send web socket requests to lava-publisher
13 ProxyPass /ws/ ws://127.0.0.1:8001/ws/
14 ProxyPassReverse /ws/ ws://127.0.0.1:8001/ws/
15 # Send request to Gunicorn
16 ProxyPass / http://127.0.0.1:8000/
17 ProxyPassReverse / http://127.0.0.1:8000/
18 ProxyPreserveHost On
19
20 DocumentRoot /usr/share/lava-server/static/lava_server/
21
22 <Directory /var/lib/lava/dispatcher/tmp>
23 Options -Indexes
24 Require all granted
25 AllowOverride None
26 <IfModule mod_php7.c>
27 php_admin_flag engine Off
28 </IfModule>
29 </Directory>
30
31 LogLevel info
32 ErrorLog ${APACHE_LOG_DIR}/lava-server.log
33 CustomLog ${APACHE_LOG_DIR}/lava-server.log combined
34 </VirtualHost>
This page took 0.074087 seconds and 4 git commands to generate.