diff --git a/confluent_osdeploy/confluent-osdeploy.conf b/confluent_osdeploy/confluent-osdeploy.conf
deleted file mode 100644
index 047751b8..00000000
--- a/confluent_osdeploy/confluent-osdeploy.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-LoadModule proxy_http_module modules/mod_proxy_http.so
-SetEnvIf Request_URI "^/confluent-api/nodes/.*/console/session$" dontlog
-Alias /confluent-public /var/lib/confluent/public
-
- AllowOverride None
- Require all granted
- Options +Indexes +FollowSymLinks
-
-
-
- ProxyPass http://127.0.0.1:4005 retry=0
- RewriteEngine On
- RewriteCond %{HTTPS} off
- RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
-
-TraceEnable off
diff --git a/confluent_osdeploy/confluent-osdeploy.conf.sles b/confluent_osdeploy/confluent-osdeploy.conf.sles
deleted file mode 100644
index 61f4560f..00000000
--- a/confluent_osdeploy/confluent-osdeploy.conf.sles
+++ /dev/null
@@ -1,18 +0,0 @@
-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
-
- AllowOverride None
- Require all granted
- Options +Indexes +FollowSymLinks
-
-
- ProxyPass http://127.0.0.1:4005 retry=0
- RewriteEngine On
- RewriteCond %{HTTPS} off
- RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
-
-TraceEnable off
diff --git a/confluent_osdeploy/confluent_osdeploy.spec.tmpl b/confluent_osdeploy/confluent_osdeploy.spec.tmpl
index c8845595..7436c334 100644
--- a/confluent_osdeploy/confluent_osdeploy.spec.tmpl
+++ b/confluent_osdeploy/confluent_osdeploy.spec.tmpl
@@ -7,13 +7,7 @@ License: Apache2
URL: http://hpc.lenovo.com/
Source0: confluent_osdeploy.tar.xz
BuildArch: noarch
-
-%define is_rh 0%{?el6:1}%{?el7:1}%{?el8:1}
-%if %is_rh
-Requires: confluent_ipxe mtools httpd mod_ssl
-%else
-Requires: confluent_ipxe mtools apache2
-%endif
+Requires: confluent_ipxe mtools
BuildRoot: /tmp
%description
@@ -60,20 +54,6 @@ for os in rhvh4 el8 suse15 ubuntu20.04 esxi6 esxi7; do
cp ${os}out/addons.* %{buildroot}/opt/confluent/lib/osdeploy/$os/initramfs
cp -a $os/profiles/* %{buildroot}/opt/confluent/lib/osdeploy/$os/profiles
done
-%if %is_rh
-mkdir -p %{buildroot}/etc/httpd/conf.d
-mv confluent-osdeploy.conf %{buildroot}/etc/httpd/conf.d/
-%else
-mkdir -p %{buildroot}/etc/apache2/conf.d
-mv confluent-osdeploy.conf.sles %{buildroot}/etc/apache2/conf.d/confluent-osdeploy.conf
-%endif
-
%files
/opt/confluent/lib/osdeploy
-%if %is_rh
-/etc/httpd/conf.d/confluent-osdeploy.conf
-%else
-/etc/apache2/conf.d/confluent-osdeploy.conf
-%endif
-