# internal vhost cinder-internal.openstack.svc configuration
ServerName cinder-internal.openstack.svc
## Vhost docroot
DocumentRoot "/var/www/cgi-bin/cinder"
## Directories, there should at least be a declaration for /var/www/cgi-bin/cinder
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride None
Require all granted
Timeout 60
## Logging
ErrorLog /dev/stdout
ServerSignature Off
CustomLog /dev/stdout combined
SetEnvIf X-Forwarded-Proto https HTTPS=1
## SSL directives
SSLEngine on
SSLCertificateFile "/etc/pki/tls/certs/internal.crt"
SSLCertificateKeyFile "/etc/pki/tls/private/internal.key"
## WSGI configuration
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess internal display-name=internal group=cinder processes=4 threads=1 user=cinder
WSGIProcessGroup internal
WSGIScriptAlias / "/var/www/cgi-bin/cinder/cinder-wsgi"
WSGIPassAuthorization On
# public vhost cinder-public.openstack.svc configuration
ServerName cinder-public.openstack.svc
## Vhost docroot
DocumentRoot "/var/www/cgi-bin/cinder"
## Directories, there should at least be a declaration for /var/www/cgi-bin/cinder
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride None
Require all granted
Timeout 60
## Logging
ErrorLog /dev/stdout
ServerSignature Off
CustomLog /dev/stdout combined
SetEnvIf X-Forwarded-Proto https HTTPS=1
## SSL directives
SSLEngine on
SSLCertificateFile "/etc/pki/tls/certs/public.crt"
SSLCertificateKeyFile "/etc/pki/tls/private/public.key"
## WSGI configuration
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess public display-name=public group=cinder processes=4 threads=1 user=cinder
WSGIProcessGroup public
WSGIScriptAlias / "/var/www/cgi-bin/cinder/cinder-wsgi"
WSGIPassAuthorization On