Skip to content
Mathieu Rampant edited this page Jul 9, 2020 · 3 revisions

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'

and in your nginx.conf:

location /nemo {
    ...
    proxy_set_header SCRIPT_NAME /nemo;
}