Skip to content

Fixed Paperless and Nextcloud behind reverse-proxies#106

Open
XobrekX wants to merge 1 commit intonextcloud:mainfrom
XobrekX:main
Open

Fixed Paperless and Nextcloud behind reverse-proxies#106
XobrekX wants to merge 1 commit intonextcloud:mainfrom
XobrekX:main

Conversation

@XobrekX
Copy link

@XobrekX XobrekX commented Feb 5, 2026

I fixed this issue in this commit: Issue #60

Signed-off-by: Kai-Jannick Fritsch <kai.fritsch96@gmail.com>
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is bad for security to have it always enabled.
You should always use the external address of your paperless-ngx instance, to avoid such issues.

@XobrekX
Copy link
Author

XobrekX commented Feb 6, 2026

I configured the external address of my paperless-ngx instance, but as described in the Issue, this is a bug that needs to be fixed for this app.

@provokateurin
Copy link
Member

I had a look at the server code for these two options again and I'm still convinced that it's wrong to always enable it. I think there are two possible ways this is happening:

  1. Your domain resolves to a local IP address like 127.0.0.1 on the host your Nextcloud is on
  2. Your paperless-ngx does a redirect to a local domain (or IP address) like localhost

@github-actions
Copy link

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants