]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Renames the email certificate so it doesn't get read during Docker startup (#4346)
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Mon, 9 Oct 2023 21:47:31 +0000 (14:47 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Oct 2023 21:47:31 +0000 (14:47 -0700)
docs/configuration.md
src/paperless/settings.py

index 45a004b40356faf0e58a18f5fa72ff0c57be94a7..ab475e3828d6af4246118ca99b53614fe261ee20 100644 (file)
@@ -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=<path>`](#PAPERLESS_EMAIL_CERTIFICATE_FILE) {#PAPERLESS_EMAIL_CERTIFICATE_FILE}
+#### [`PAPERLESS_EMAIL_CERTIFICATE_LOCATION=<path>`](#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.
index f3cbb6ee212897cffde6909c2d225c68a75c4a1b..c61c551175db2d84953969ff7dd2391bcd3038d2 100644 (file)
@@ -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")
 
 
 ###############################################################################