URL is not intended to go into ALLOWED_HOSTS. Domain names or IP addresses are intended. https://netboxlabs.com/docs/netbox/configuration/required-parameters/#allowed_hosts

Robin Schneider 2025-10-27 19:09:19 +01:00
parent 749cb57b05
commit 295ef51bef

@ -39,7 +39,7 @@ Please change the following settings to keep your setup safe.
These settings are also relevant:
* `ALLOWED_HOSTS`: Add all URLs that lead to your Netbox instance, space separated. E.g. `ALLOWED_HOSTS=netbox.mycorp.com server042.mycorp.com 2a02:123::42 10.0.0.42 localhost ::1 127.0.0.1` (It's good advice to always allow localhost connections for easy debugging, i.e. `localhost ::1 127.0.0.1`.)
* `ALLOWED_HOSTS`: Add all FQDNs and IP addresses that lead to your Netbox instance, space separated. E.g. `ALLOWED_HOSTS=netbox.mycorp.com server042.mycorp.com 2a02:123::42 10.0.0.42 localhost ::1 127.0.0.1` (It's good advice to always allow localhost connections for easy debugging, i.e. `localhost ::1 127.0.0.1`.)
* `DB_*`: Use your own persistent database. Don't use the default passwords!
* `EMAIL_*`: Use your own mailserver.
* `MAX_PAGE_SIZE`: Use the recommended default of 1000.