diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 4f098bc3f..638276c5d 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -69,11 +69,13 @@ to run on a different port than 8000. .. note:: To access a dockerized VulnerableCode app from a remote location, the ``ALLOWED_HOSTS`` - setting need to be provided in your ``docker.env`` file:: + and ``CSRF_TRUSTED_ORIGINS`` setting need to be provided in your ``docker.env`` file:: ALLOWED_HOSTS=.domain.com,127.0.0.1 + CSRF_TRUSTED_ORIGINS=https://*.domain.com,http://127.0.0.1 - Refer to `Django ALLOWED_HOSTS settings `_ + Refer to Django `ALLOWED_HOSTS settings `_ + and `CSRF_TRUSTED_ORIGINS settings `_ for more details. .. warning::