# internal vhost neutron-internal.openstack.svc configuration
ServerName neutron-internal.openstack.svc
TimeOut 120
## 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"
## Proxy rules
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:9697/ retry=10
ProxyPassReverse / http://localhost:9697/
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"
# public vhost neutron-public.openstack.svc configuration
ServerName neutron-public.openstack.svc
TimeOut 120
## 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"
## Proxy rules
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:9697/ retry=10
ProxyPassReverse / http://localhost:9697/
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"