You need to sign in or sign up before continuing.
Changing local.py in Docker is not changing Basepath
I try to edit the local.py
file within the docker container so it uses another sub url.
But Mayan is redirecting me to the path without the /mayan
prefix
I used -v "./local.py:/local.py"
to but the file into the container and MAYAN_SETTINGS_LOCAL_FILE:/local.py
to load it.
The content of local.py is from #350 (closed)
USE_X_FORWARDED_HOST = True
FORCE_SCRIPT_NAME = '/mayan' # https://docs.djangoproject.com/en/1.10/ref/settings/#force-script-name
BASE_PATH = '/mayan'
STATIC_URL = '/mayan-static/' # https://docs.djangoproject.com/en/1.10/ref/settings/#static-url
MEDIA_URL = BASE_PATH + '/media/' # https://docs.djangoproject.com/en/1.10/ref/settings/#media-url
My main goal is to put the container behind a NGINX with a another sub url.
I also tryed MAYAN_SETTINGS_LOCAL_FILE
but this is not generating a local.py at all.