Subpath deployment - usnistgov/NEMO GitHub Wiki
NEMO can be deployed on a subpath/subfolder nemo, as long as you set the following variables:
- in
settings.py:
STATIC_URL = '/nemo/static/'
MEDIA_URL = '/nemo/media/'
FORCE_SCRIPT_NAME = '/nemo'
-
make sure the
locationin nginx is set to/nemo -
and set the environment variable
GUNICORN_SCRIPT_NAMEto/nemoin docker/docker-compose