From 1872a7d11c52d92ac1e13ee2de35d0bed473111f Mon Sep 17 00:00:00 2001 From: Kai-Jannick Fritsch Date: Thu, 5 Feb 2026 22:14:54 +0100 Subject: [PATCH] Fixed Paperless and Nextcloud behind reverse-proxies Signed-off-by: Kai-Jannick Fritsch --- README.md | 1 - lib/Service/ApiService.php | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3985367..dc2eed5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ If there is a strong business case for any development of this app, we will cons ## Development -Set `allow_local_remote_servers` to `true` (boolean) in your config.php. The Paperless server will run on `http://localhost:8000` with username `admin` and password `admin`: ```bash docker compose up diff --git a/lib/Service/ApiService.php b/lib/Service/ApiService.php index ba6b99b..c7dc92d 100644 --- a/lib/Service/ApiService.php +++ b/lib/Service/ApiService.php @@ -68,6 +68,9 @@ public function sendFile(int $fileId): void { 'contents' => $file->getName(), ], ], + 'nextcloud' => [ + 'allow_local_address' => true, + ], ], ); }