Configure server to override "self" URIs with external path
See original GitHub issueIs your feature request related to a problem? Please describe. We’re running the FHIR Server behind a proxy and that proxy modifies the request URLs.
Request come in to an endpoint like https://[host]/wh-fhir-dev/api/v4 but the server is returning URIs like https://[host]/fhir-server/api/v4/$export-status?job=9.
Is there a way to use the origin request URL in the server URLs returned by the server?
I think it affects at least:
- search result
selfuri - Bundle entry fullUrl values
- bulkimportexport polling URLs
Describe the solution you’d like https://[host]/wh-fhir-dev/api/v4 Either:
- a setting the server will use as the “base” in all self uris; or
- a way to tell the server which HTTP header has the original request URI (so it can use that to construct self uris)
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Configure endpoints for the ASP.NET Core Kestrel web server
json file and can be overridden. If no ports are specified, Kestrel binds to http://localhost:5000 . Specify URLs using the: ASPNETCORE_URLS ...
Read more >5 ways to set the URLs for an ASP.NET Core app
Using launchSettings.json - Set the URLs using the applicationUrl property. KestrelServerOptions.Listen() - Configure addresses for Kestrel ...
Read more >Javascript URI/Origin Override - iframe - Stack Overflow
I have a very specific challenge where a self contained website and assets are stored in a location that is not a web...
Read more >Pitfalls and Common Mistakes | NGINX
This page outlines some of the NGINX configuration issues that we see frequently and then explains how to resolve them.
Read more >Configuration options for the GitLab Linux package
Optional. Before you change the external URL, determine if you have previously defined a custom Home page URL or After sign-out path. Both...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

but I agree that adding a new config in fhir server side sounds like a simpler solution.
Confirmed with my above test