aboutsummaryrefslogtreecommitdiff
path: root/netbox/config-patch1.diff
diff options
context:
space:
mode:
Diffstat (limited to 'netbox/config-patch1.diff')
-rw-r--r--netbox/config-patch1.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/netbox/config-patch1.diff b/netbox/config-patch1.diff
new file mode 100644
index 0000000..be5b068
--- /dev/null
+++ b/netbox/config-patch1.diff
@@ -0,0 +1,26 @@
1--- a/opt/netbox/netbox/netbox/configuration.py
2+++ b/opt/netbox/netbox/netbox/configuration.py
3@@ -4,11 +4,13 @@
4 # #
5 #########################
6
7+import urllib3; urllib3.disable_warnings()
8+
9 # This is a list of valid fully-qualified domain names (FQDNs) for the NetBox server. NetBox will not permit write
10 # access to the server via any other hostnames. The first FQDN in the list will be treated as the preferred name.
11 #
12 # Example: ALLOWED_HOSTS = ['netbox.example.com', 'netbox.internal.local']
13-ALLOWED_HOSTS = []
14+ALLOWED_HOSTS = ['*']
15
16 # PostgreSQL database configuration. See the Django documentation for a complete list of available parameters:
17 # https://docs.djangoproject.com/en/stable/ref/settings/#databases
18@@ -51,7 +53,7 @@
19 # For optimal security, SECRET_KEY should be at least 50 characters in length and contain a mix of letters, numbers, and
20 # symbols. NetBox will not run without this defined. For more information, see
21 # https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-SECRET_KEY
22-SECRET_KEY = ''
23+SECRET_KEY = 'dummy setup value will get cleared after setup run'
24
25
26 #########################