diff --git a/Using-a-Reverse-Proxy-with-Paperless-ngx.md b/Using-a-Reverse-Proxy-with-Paperless-ngx.md index 35b6cf6..87b4a0d 100644 --- a/Using-a-Reverse-Proxy-with-Paperless-ngx.md +++ b/Using-a-Reverse-Proxy-with-Paperless-ngx.md @@ -64,21 +64,14 @@ Some have found adding the P3P header (`add_header P3P 'CP=""';` see [#817](http Also make sure to enable `Websocket Support` in nginx, see https://github.com/paperless-ngx/paperless-ngx/discussions/10762#discussioncomment-14299568. # Nginx Proxy Manager (NPM) -In NPM create a new proxy host and enable websockets support: +In NPM create a new proxy host and enable websockets support. You may also want to choose to "Force SSL". -grafik +Nginx Proxy Manager uses a timeout of 90s by default. This is fine for loading the webpage but will cut the websocket connection if there are no updates for 90s. To prevent that, the following custom Nginx configuration options can be used: -Then under the SSL tab select your certificate and enable "Force SSL". All other options are optional: - -grafik - -Nginx Proxy Manager uses a timeout of 90s by default. This is fine for loading the webpage but will cut the websocket connection if there are no updates for 90s. To prevent that, the following 2 lines can be added under the Custom Nginx Configuration Tab (settings icon): ```nginx proxy_send_timeout 600m; proxy_read_timeout 600m; ``` -Both values can be adjusted. `600m` means that NPM will hold the websocket connection open for 600 minutes. -grafik # Apache