Commit Graph

2 Commits

Author SHA1 Message Date
18012fcec0 Serve Swagger spec per request so it works behind a proxy prefix.
The baked-in host and basePath pointed "Try it out" at the app's own listen
address, so requests from the browser never reached the server. doc.json is
now built from the incoming request, using X-Forwarded-Prefix to restore the
path prefix nginx strips before proxying.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:42:49 +05:00
ba53b5b5c2 Update Swagger host to port 5005 and harden Gin trusted proxies.
Also add shared nginx config for test.webulgam.com with online-backend path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 18:47:30 +05:00