From 5a73197088d4175cf0ddf0222846553e22374a08 Mon Sep 17 00:00:00 2001 From: "pixel::doc" Date: Sun, 17 Aug 2025 02:26:55 +0200 Subject: [PATCH] Fixed Enviroment Variable names --- Using-a-Reverse-Proxy-with-Paperless-ngx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Using-a-Reverse-Proxy-with-Paperless-ngx.md b/Using-a-Reverse-Proxy-with-Paperless-ngx.md index 9ca9b97..a8207bb 100644 --- a/Using-a-Reverse-Proxy-with-Paperless-ngx.md +++ b/Using-a-Reverse-Proxy-with-Paperless-ngx.md @@ -42,7 +42,7 @@ http { ``` The `PAPERLESS_URL` configuration variable is also required when using a -reverse proxy; consider setting `USE_X_FORWARD_HOST=true`, `USE_X_FORWARD_PORT=true` and `PAPERLESS_PROXY_SSL_HEADER='["HTTP_X_FORWARDED_PROTO", "https"]'`. Please refer to the [hosting and security](https://docs.paperless-ngx.com/configuration/#hosting-and-security) docs. +reverse proxy; consider setting `PAPERLESS_USE_X_FORWARD_HOST=true`, `PAPERLESS_USE_X_FORWARD_PORT=true` and `PAPERLESS_PROXY_SSL_HEADER='["HTTP_X_FORWARDED_PROTO", "https"]'`. Please refer to the [hosting and security](https://docs.paperless-ngx.com/configuration/#hosting-and-security) docs. When using a domain subpath (e.g. `/paperless`), you need to set `PAPERLESS_FORCE_SCRIPT_NAME=/paperless` and ensure the proxy_pass setup strips that prefix: ```