[GH-ISSUE #201] issue: issue when config nginx as reverse proxy #93

Closed
opened 2026-10-18 21:11:38 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @bientt210 on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/201

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of mcpo.

mcpo Version

0.0.16

Open WebUI Version (if applicable)

No response

Operating System

Ubuntu 22.04

Browser (if applicable)

chrome

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both MCPO and Open WebUI.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

Issue when i config MCPO with Nginx as reverse proxy but when I access via domain https://domain.com/docs, error appear as below

Does anyone had config with Nginx as reverse proxy?
Could tell how to fix this issue./.

Actual Behavior

Image

Steps to Reproduce

I follow the docs https://fastapi.tiangolo.com/advanced/behind-a-proxy/#check-the-docs-ui to config with option --path-specific but it still get same error

Logs & Screenshots

Image

Additional Information

No response

Originally created by @bientt210 on GitHub (Jul 14, 2025). Original GitHub issue: https://github.com/open-webui/mcpo/issues/201 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of mcpo. ### mcpo Version 0.0.16 ### Open WebUI Version (if applicable) _No response_ ### Operating System Ubuntu 22.04 ### Browser (if applicable) chrome ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** MCPO and Open WebUI. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior Issue when i config MCPO with Nginx as reverse proxy but when I access via domain https://domain.com/docs, error appear as below Does anyone had config with Nginx as reverse proxy? Could tell how to fix this issue./. ### Actual Behavior <img width="1198" height="628" alt="Image" src="https://github.com/user-attachments/assets/8f6a4bce-21d0-4800-b8ad-5d712afec0ad" /> ### Steps to Reproduce I follow the docs https://fastapi.tiangolo.com/advanced/behind-a-proxy/#check-the-docs-ui to config with option --path-specific but it still get same error ### Logs & Screenshots <img width="1198" height="628" alt="Image" src="https://github.com/user-attachments/assets/d844a1bd-0dcf-4c5c-a86d-df7a3c818583" /> ### Additional Information _No response_
bsakaguchi 2026-10-18 21:11:38 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@taylorwilsdon commented on GitHub (Jul 15, 2025):

Please share both the nginx conf file and the address you're successfully accessing openapi.json at - almost certainly just a misconfiguration in nginx

<!-- gh-comment-id:3071723201 --> @taylorwilsdon commented on GitHub (Jul 15, 2025): Please share both the nginx conf file and the address you're successfully accessing openapi.json at - almost certainly just a misconfiguration in nginx
Author
Owner

@bientt210 commented on GitHub (Jul 17, 2025):

Please share both the nginx conf file and the address you're successfully accessing openapi.json at - almost certainly just a misconfiguration in nginx

Thanks for your quick answer. The issue is resolved, I think a missing nginx configuration caused this.

<!-- gh-comment-id:3083032242 --> @bientt210 commented on GitHub (Jul 17, 2025): > Please share both the nginx conf file and the address you're successfully accessing openapi.json at - almost certainly just a misconfiguration in nginx Thanks for your quick answer. The issue is resolved, I think a missing nginx configuration caused this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/mcpo#93
No description provided.