|
#
|
|
# WARNING: THIS CONFIGURATION WAS GENERATED BY KATELLO-CONFIGURE TOOL,
|
|
# CHANGES WILL LIKELY BE OVERWRITTEN.
|
|
#
|
|
|
|
SSLOptions +StdEnvVars +ExportCertData +FakeBasicAuth
|
|
|
|
Alias /pub /var/www/html/pub
|
|
<Location /pub>
|
|
<% if @use_passenger %>
|
|
PassengerEnabled off
|
|
<% end %>
|
|
Options +FollowSymLinks +Indexes
|
|
</Location>
|
|
|
|
<LocationMatch /subscription|/katello/api>
|
|
RequestHeader set SSL_CLIENT_CERT "%{SSL_CLIENT_CERT}s"
|
|
SSLVerifyClient optional
|
|
SSLRenegBufferSize 16777216
|
|
SSLVerifyDepth 2
|
|
|
|
# report to CLI and RHSM nicely when Katello is down
|
|
ErrorDocument 500 '{"displayMessage": "Internal error, contact administrator", "errors": ["Internal error, contact administrator"], "status": "500" }'
|
|
ErrorDocument 503 '{"displayMessage": "Service unavailable or restarting, try later", "errors": ["Service unavailable or restarting, try later"], "status": "503" }'
|
|
</LocationMatch>
|