Orthanc with DicomWEB plugin behind a reverse-proxy

138 views
Skip to first unread message

Didier Lesage

unread,
Mar 30, 2023, 12:04:06 PM3/30/23
to Orthanc Users
Good evening,

I use the DicomWEB front end of an Orthanc server behind a reverse proxy. Before transmitting DicomWEB requests, the proxy adds the X-Forwarded-Host and X-Forwarded-Proto headers to the request headers (verified). But, it seems that these headers are ignored by the plugin.

The BulkDataURI or RetrieveURL attributes do not undergo any transformation...

Orthanc version : 1.11.3
DicomWEB plugin version : 1.13

Any ideas ?

Alain Mazy

unread,
Apr 6, 2023, 3:36:01 AM4/6/23
to Didier Lesage, Orthanc Users
Hi Didier,

This DicomWeb configuration should handle that:
    "PublicRoot": "/dicom-web/", // The public Root URI of the DICOMweb API in case it is different from "Root".
                                 // This is useful if, e.g, your Orthanc is behind a reverse-proxy and has another
                                 // base endpoint than the "Root" one.  Note that, if using a reverse-proxy, make sure to set the "host"
                                 // and "proto" correctly in the "Forwarded" HTTP headers.
                                 // (since release 1.8)


curl --request GET "http://demo:demo@localhost/orthanc/dicom-web/studies/1.2.276.0.7230010..../metadata" --header "Accept: application/dicom+json" | grep Bulk


HTH,

Alain


--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/c6c32cf7-14e0-41bc-8ccf-910fc2672337n%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages