2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00
confluent/confluent_osdeploy/confluent-osdeploy.conf.sles
Jarrod Johnson ea6155b2a1 Have osdeploy require apache/ssl and provide config
Have osdeploy pull in requirements itself
2020-07-09 13:18:42 -04:00

19 lines
787 B
Plaintext

LoadModule proxy_module /usr/lib64/apache2-prefork/mod_proxy.so
LoadModule proxy_http_module /usr/lib64/apache2-prefork/mod_proxy_http.so
LoadModule allowmethods_module /usr/lib64/apache2-prefork/mod_allowmethods.so
LoadModule headers_module /usr/lib64/apache2-prefork/mod_headers.so
SetEnvIf Request_URI "^/confluent-api/nodes/.*/console/session$" dontlog
Alias /confluent-public /var/lib/confluent/public
<Directory /var/lib/confluent/public>
AllowOverride None
Require all granted
Options +Indexes +FollowSymLinks
</Directory>
<Location /confluent-api>
ProxyPass http://127.0.0.1:4005 retry=0
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</Location>
TraceEnable off