[Question]: Cannot get Nginx reverse proxy working with RAG #3927
Unanswered
matthewknill
asked this question in
Troubleshooting
Replies: 1 comment 3 replies
-
The RAG API should only be accessible to the LibreChat API, the one running on 3080 by default. It doesn't need to be behind the reverse proxy for the clients' sake. It would be helpful to see the exact logs for why exactly the file is failing, also what are your startup logs in the LibreChat container? It will usually say if the RAG API is reachable. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is your question?
I have the following config for my Nginx config (replaced custom URLs with example.com or example.net):
And in my
.env
for LibreChat I have the following:The above configuration works perfectly for everything except for when I attempt to upload files in which I get the message displayed in the screenshot.
Trying on my local machine, it RAG seems to work fine but I am a bit confused with
http://host.docker.internal:8000
and what that should be set as to work when behind a reverse proxy. Do I need port 8000 accessible from client machine or should that be set differently?More Details
Server Details:
Client: Docker Engine - Community
Version: 27.1.1
API version: 1.46
Go version: go1.21.12
Git commit: 6312585
Built: Tue Jul 23 19:56:56 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 27.1.1
API version: 1.46 (minimum version 1.24)
Go version: go1.21.12
Git commit: cc13f95
Built: Tue Jul 23 19:56:56 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.19
GitCommit: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41
runc:
Version: 1.7.19
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0
What is the main subject of your question?
No response
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions