linuxserver / reverse-proxy-confs

These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag
GNU General Public License v3.0
1.33k stars 300 forks source link

Create paperless-ngx.subdomain.conf.sample #625

Closed dmuiX closed 6 months ago

dmuiX commented 9 months ago

Added a working paperless-ngx subdomain config

linuxserver.io



Description

Benefits of this PR and context

There is no paperless-ngx config included so far. As I just figured out what needs to be added I wanted to share my successful config.

How Has This Been Tested?

  1. Add this config to the corresponding swag config folder: config/nginx/proxy-confs/paperless-ngx.subdomain.conf
  2. Add these env variables to the paperless env file or the compose file:
    PAPERLESS_URL=https://paperless-ngx.domain.org
    USE_X_FORWARD_PORT=true # Unsure if these are necessary
    USE_X_FORWARD_HOST=true # Unsure if these are necessary
  3. Setup a proper CNAME in Cloudflare or whatever DNS Provider you use
  4. Restart swag and paperless-ngx
  5. Access paperless-ngx on https://paperless-ngx.domain.org sucessfully

Source / References

https://www.reddit.com/r/unRAID/comments/seqozo/paperlessng_and_swag_nginx_reverse_proxy/ https://github.com/paperless-ngx/paperless-ngx/wiki/Using-a-Reverse-Proxy-with-Paperless-ngx#nginx

dmuiX commented 9 months ago

The guy on reddit uses paperless-ngx with a subfolder config. As I have copied the rest from the portainer.subdomain.conf.sample, copying the portainer.subfolder.conf.sample and then changing and adding the necessary lines might work as well for a subfolder.config

dmuiX commented 9 months ago

👍. I will try it and report if it still works with your changes.

LinuxServer-CI commented 8 months ago

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 5 months ago

This pull request is locked due to inactivity