-
Task
-
Resolution: Done
-
Normal
-
None
-
None
To provide sufficient security, it is necessary for us to restrict the ALLOWED_HOSTS value to only those that will need to be served by Horizon. But, we must include the pod IP address in this list in order to facilitate liveness checks,
In order to do this, we need to dynamically determine the IP address of the pod which will be allocated each time a pod is created. We can do this by writing some Python code into the local_settings.py file that will determine the IP address of the primary interface in the pod.