-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority: medium
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
Which Nextcloud Version are you currently using: v33.0.0
Is your feature request related to a problem? Please describe.
Gateway timeouts happen when slow responding ex-apps like context_chat_backend take their time to either index the documents or get an answer.
A similar config exists in DSP: https://github.com/nextcloud/docker-socket-proxy/?tab=readme-ov-file#slow-responding-exapps
This environment variable exists in HaRP too but the main NC proxy times out the connection.
Describe the solution you'd like
Increase the read timeout for the /exapps/ location in the main proxy config.
For nginx, the modified config would look like:
server {
listen 80;
server_name nextcloud.com;
location /exapps/ {
proxy_pass http://127.0.0.1:8780;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 1800;
}
}This needs to be updated for all the reverse proxy examples in the readme.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority: medium