1 # VirtualHost definition for the Arvados API server
4 ServerName @@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@
5 ServerAdmin sysadmin@curoverse.com
7 RedirectPermanent / https://@@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@/
10 ErrorLog ${APACHE_LOG_DIR}/error.log
11 CustomLog ${APACHE_LOG_DIR}/access.log combined
16 ServerName @@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@
17 ServerAdmin sysadmin@curoverse.com
21 RailsAppSpawnerIdleTime 1200
24 PassengerBufferResponse off
26 # Index file and Document Root (where the public files are located)
27 DirectoryIndex index.html
28 DocumentRoot /usr/src/sso-provider/public
31 ErrorLog ${APACHE_LOG_DIR}/ssl_error.log
32 CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
34 <Directory /usr/src/sso-provider/public>
35 Options Indexes FollowSymLinks MultiViews IncludesNoExec
43 # SSLCertificateChainFile /etc/ssl/certs/startcom.sub.class1.server.ca.pem
44 # SSLCACertificateFile /etc/ssl/certs/startcom.ca.pem
45 # SSLCertificateFile /etc/ssl/certs/qr1hi.arvadosapi.com.crt.pem
46 # SSLCertificateKeyFile /etc/ssl/private/qr1hi.arvadosapi.com.key.pem
47 SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
48 SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
49 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown