From 22acc51284a56dd2aee2a35ca1fcd4bdc6854a09 Mon Sep 17 00:00:00 2001 From: maphy-psd Date: Sat, 19 Aug 2017 12:38:45 +0200 Subject: [PATCH] add PAPERLESS_FORCE_SCRIPT_NAME --- paperless.conf.example | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paperless.conf.example b/paperless.conf.example index a17aac327..3f9e2e98d 100644 --- a/paperless.conf.example +++ b/paperless.conf.example @@ -80,6 +80,11 @@ PAPERLESS_PASSPHRASE="secret" # as is "example.com,www.example.com", but NOT " example.com" or "example.com," #PAPERLESS_ALLOWED_HOSTS="example.com,www.example.com" +# To host paperless under a subpath url like example.com/paperless you set +# this value to /paperless. No trailing slash! +# +# https://docs.djangoproject.com/en/1.11/ref/settings/#force-script-name +#PAPERLESS_FORCE_SCRIPT_NAME="" ############################################################################### #### Software Tweaks ####