libapache2-mod-wsgi-py3package needs to be installed as well, otherwise you will get errors about the “WSGIPassAuthorization on” command when starting Apache [this has later been addressed in commit b917e8d]
- Disable the “000-default” site with
- Copy the relevant configurations from 000-default.conf to netbox.conf (like ErrorLog and CustomLog)
a2ensite netboxto enable the new site is already mentioned in the NetBox documentation)
Depending on the existing customizations, other adjustments may be needed as well, this was a plain non-TLS installation on a new VM.