# VirtualHost definition for the Arvados API server
ServerName @@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@
ServerAdmin sysadmin@curoverse.com
RedirectPermanent / https://@@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@/
LogLevel warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ServerName @@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@
ServerAdmin sysadmin@curoverse.com
RailsEnv production
RackBaseURI /
RailsAppSpawnerIdleTime 1200
# Enable streaming
PassengerBufferResponse off
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html
DocumentRoot /usr/src/sso-provider/public
LogLevel warn
ErrorLog ${APACHE_LOG_DIR}/ssl_error.log
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
Options Indexes FollowSymLinks MultiViews IncludesNoExec
AllowOverride None
Order allow,deny
allow from all
SSLEngine on
# SSLCertificateChainFile /etc/ssl/certs/startcom.sub.class1.server.ca.pem
# SSLCACertificateFile /etc/ssl/certs/startcom.ca.pem
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown