mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 17:30:44 +01:00
If you use a subpath, the proxy_pass needs to include the URI; otherwise, it won’t work correctly. Therefore, the trailing slash must be removed in proxy_pass.
@@ -51,7 +51,7 @@ When using a domain subpath (e.g. `/paperless`), you need to set `PAPERLESS_FORC
|
|||||||
location /paperless/ {
|
location /paperless/ {
|
||||||
|
|
||||||
# Adjust host and port as required.
|
# Adjust host and port as required.
|
||||||
proxy_pass http://localhost:8000/;
|
proxy_pass http://localhost:8000;
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user