ServerTokens Prod ServerSignature Off TraceEnable Off PidFile run/httpd.pid ServerRoot "/etc/httpd" ServerName "localhost.localdomain" User apache Group apache Listen 8080 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 swift-internal.openstack.svc configuration ServerName swift-internal.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" LimitRequestBody 5368709122 LimitRequestFields 200 ## Proxy rules ProxyRequests Off ProxyPreserveHost On ProxyPass / http://localhost:8081/ retry=10 ProxyPassReverse / http://localhost:8081/ 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 swift-public.openstack.svc configuration ServerName swift-public.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" LimitRequestBody 5368709122 LimitRequestFields 200 ## Proxy rules ProxyRequests Off ProxyPreserveHost On ProxyPass / http://localhost:8081/ retry=10 ProxyPassReverse / http://localhost:8081/ 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"