From a2507c10e042726e55184a7cb25aebc18069b3a6 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Mon, 13 Jul 2020 19:21:52 +0300 Subject: [PATCH] fix(superuser): Don't set INTERNAL_IPS to Docker network (#581) `INTERNAL_IPS` is used to check whether to allow superuser access or not. Limiting this to the Docker internal network makes it impossible for anyone to reach admin pages with on-premise setup. This is a follow up to #572 and it fixes #577. --- sentry/sentry.conf.example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sentry/sentry.conf.example.py b/sentry/sentry.conf.example.py index 13353c1..216440d 100644 --- a/sentry/sentry.conf.example.py +++ b/sentry/sentry.conf.example.py @@ -30,8 +30,8 @@ def get_internal_network(): return ("{0:s}/{1:d}".format(base, netmask_bits),) -INTERNAL_IPS = get_internal_network() -INTERNAL_SYSTEM_IPS = INTERNAL_IPS +INTERNAL_SYSTEM_IPS = get_internal_network() + DATABASES = { "default": {