Skip to content

OP-2674: Add mode to allow proxy mode - #165

Open
njmarques wants to merge 16 commits into
developfrom
nm/OP-2674-add-mode-to-allow-proxy-mode
Open

OP-2674: Add mode to allow proxy mode#165
njmarques wants to merge 16 commits into
developfrom
nm/OP-2674-add-mode-to-allow-proxy-mode

Conversation

@njmarques

Copy link
Copy Markdown
Collaborator

Rewrite FHIR URLs for reverse-proxy deployments (PROXY_URL)

  • Bundle fullUrl, self, next, and previous use the public origin. X-Forwarded-Host / X-Forwarded-Proto / X-Forwarded-Port win when present.

  • If those headers are absent, optional PROXY_URL (proxy.url.base) is used. Include a scheme (https://example.org); a host-only value gets the request scheme.

  • HAPI/Swagger ignore PROXY_URL and follow forwarded headers or the incoming request. OpenAPI docs load from ../api-docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants