# public vhost glance-public.openstack.svc configuration ServerName glance-public.openstack.svc ServerAlias glance-default-external-api.openstack.svc ## Logging ErrorLog /dev/stdout ServerSignature Off CustomLog /dev/stdout combined ## Request header rules ## as per http://httpd.apache.org/docs/2.2/mod/mod_headers.html#requestheader RequestHeader setIfEmpty X-Forwarded-Proto "https" TimeOut 60 ## Proxy rules ProxyRequests Off ProxyPreserveHost Off ProxyPass / http://localhost:9293/ retry=10 ProxyPassReverse / http://localhost:9293/ 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"