From 6e7b7534dad5e54189c86f9e0c34cff58b42d3f0 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 24 Aug 2026 08:08:58 +0200 Subject: [PATCH] Update netbox-install.sh for Apache configuration Modify Apache configuration to serve NetBox on port 80. --- install/netbox-install.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/install/netbox-install.sh b/install/netbox-install.sh index bc3db7d9d..21bd9efdc 100644 --- a/install/netbox-install.sh +++ b/install/netbox-install.sh @@ -60,9 +60,6 @@ $STD /opt/netbox/upgrade.sh ln -s /opt/netbox/contrib/netbox-housekeeping.sh /etc/cron.daily/netbox-housekeeping $STD openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/netbox.key -out /etc/ssl/certs/netbox.crt -subj "/C=US/O=NetBox/OU=Certificate/CN=localhost" -# Upstream's contrib/apache.conf redirects all port-80 traffic to HTTPS, which breaks -# reverse proxies that talk plain HTTP to the backend (they get a redirect instead of -# content). Serve NetBox directly on 80 too; 443 stays available for direct HTTPS access. cat </etc/apache2/sites-available/netbox.conf ProxyPreserveHost On