OHIF Viewer Using Orthanc Server Side

IIS web.config to reverse proxy 8042 to 8041, and enable CORS

	<?xml version="1.0" encoding="UTF-8"?>
       	 <cors enabled="true" failUnlistedOrigins="false">
       	     <add origin="*" allowed="true">
       	         <allowHeaders allowAllRequestedHeaders="true">
       	             <preCondition name="ResponseIsHtml1">
       	                 <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
       	         <rule name="ReverseProxyInboundRule1" stopProcessing="true">
       	             <match url="(.*)" />
       	             <action type="Rewrite" url="http://localhost:8041/{R:1}" />

Subscribe to Lydon's blog

Get the latest posts delivered right to your inbox



Grow and grow and grow

Read More