devstack_docker.py
2.36 KB
-
Introduce LMS_INTERNAL_ROOT_URL. · d403e5f8
The LMS and edx-enterprise currently communicate via REST APIs, even though they are all running within the same service. Currently API URLs are constructed using LMS_ROOT_URL, but that is problematic on some systems where the external LMS_ROOT_URL is not accessible from the private network, or routing internal requests via the external URL is not desireable. This patch introduces a new setting variable LMS_INTERNAL_ROOT_URL which defaults to the value of LMS_ROOT_URL for backwards compatibility. The LMS and edx-enterprise will use LMS_INTERNAL_ROOT_URL to construct API URLs instead of LMS_ROOT_URL.
Matjaz Gregoric committed