f929781708995814cd264ee8a2eb92233d60bf36
[arvados.git] / docker / workbench / apache2_vhost.in
1
2 <VirtualHost *:80>
3
4   ServerName workbench.@@ARVADOS_DOMAIN@@
5   ServerAdmin sysadmin@curoverse.com
6
7   RailsEnv @@WORKBENCH_RAILS_MODE@@
8   RackBaseURI /
9   RailsAppSpawnerIdleTime 1200
10
11   # Index file and Document Root (where the public files are located)
12   DirectoryIndex index.html
13   DocumentRoot /usr/src/arvados/apps/workbench/public
14
15   LogLevel warn
16   ErrorLog  ${APACHE_LOG_DIR}/error.log
17   CustomLog ${APACHE_LOG_DIR}/access.log combined
18
19   <Directory /usr/src/arvados/apps/workbench>
20     Options Indexes FollowSymLinks MultiViews IncludesNoExec
21     AllowOverride None
22     Order allow,deny
23     allow from all
24   </Directory>
25
26   <IfModule mod_ssl.c>
27     SSLEngine off
28     # SSLCertificateChainFile /etc/ssl/certs/startcom.sub.class1.server.ca.pem
29     # SSLCACertificateFile    /etc/ssl/certs/startcom.ca.pem
30     # SSLCertificateFile      /etc/ssl/certs/qr1hi.arvadosapi.com.crt.pem
31     # SSLCertificateKeyFile   /etc/ssl/private/qr1hi.arvadosapi.com.key.pem
32     SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
33     SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
34     SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
35   </IfModule>
36
37 </VirtualHost>