ServerTokens Prod
ServerSignature Off
TraceEnable Off
PidFile run/httpd.pid
ServerRoot "/etc/httpd"
ServerName "localhost.localdomain"
User apache
Group apache
Listen 5000
TypesConfig /etc/mime.types
Include conf.modules.d/*.conf
Include conf.d/*.conf
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
CustomLog /dev/stdout combined env=!forwarded
CustomLog /dev/stdout proxy env=forwarded
# internal vhost keystone-internal.openstack.svc configuration
ServerName keystone-internal.openstack.svc
TimeOut 60
## Vhost docroot
DocumentRoot "/var/www/cgi-bin/keystone"
## Directories, there should at least be a declaration for /var/www/cgi-bin/keystone
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride None
Require all granted
## 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=keystone processes=3 threads=1 user=keystone
WSGIProcessGroup internal
WSGIScriptAlias / "/usr/bin/keystone-wsgi-public"
WSGIPassAuthorization On
# public vhost keystone-public.openstack.svc configuration
ServerName keystone-public.openstack.svc
TimeOut 60
## Vhost docroot
DocumentRoot "/var/www/cgi-bin/keystone"
## Directories, there should at least be a declaration for /var/www/cgi-bin/keystone
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride None
Require all granted
## 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=keystone processes=3 threads=1 user=keystone
WSGIProcessGroup public
WSGIScriptAlias / "/usr/bin/keystone-wsgi-public"
WSGIPassAuthorization On