From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 9 Oct 2023 21:47:31 +0000 (-0700) Subject: Renames the email certificate so it doesn't get read during Docker startup (#4346) X-Git-Tag: v2.0.0-beta.1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18b0706225fb16341969838e2aba41cfe5ff1f9;p=thirdparty%2Fpaperless-ngx.git Renames the email certificate so it doesn't get read during Docker startup (#4346) --- diff --git a/docs/configuration.md b/docs/configuration.md index 45a004b403..ab475e3828 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -501,7 +501,7 @@ HTTP header/value expected by Django, eg `'["HTTP_X_FORWARDED_PROTO", "https"]'` Settings this value has security implications. Read the Django documentation and be sure you understand its usage before setting it. -#### [`PAPERLESS_EMAIL_CERTIFICATE_FILE=`](#PAPERLESS_EMAIL_CERTIFICATE_FILE) {#PAPERLESS_EMAIL_CERTIFICATE_FILE} +#### [`PAPERLESS_EMAIL_CERTIFICATE_LOCATION=`](#PAPERLESS_EMAIL_CERTIFICATE_LOCATION) {#PAPERLESS_EMAIL_CERTIFICATE_LOCATION} : Configures an additional SSL certificate file containing a [certificate](https://docs.python.org/3/library/ssl.html#certificates) or certificate chain which should be trusted for validating SSL connections against mail providers. diff --git a/src/paperless/settings.py b/src/paperless/settings.py index f3cbb6ee21..c61c551175 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -483,7 +483,7 @@ CSRF_COOKIE_NAME = f"{COOKIE_PREFIX}csrftoken" SESSION_COOKIE_NAME = f"{COOKIE_PREFIX}sessionid" LANGUAGE_COOKIE_NAME = f"{COOKIE_PREFIX}django_language" -EMAIL_CERTIFICATE_FILE = __get_path("PAPERLESS_EMAIL_CERTIFICATE_FILE") +EMAIL_CERTIFICATE_FILE = __get_path("PAPERLESS_EMAIL_CERTIFICATE_LOCATION") ###############################################################################