Authentication with Cloudflare tunnels

Hello Community,

I am currently trying to secure my DICOM/PACS server with Cloudflare Access. I have installed the Cloudflare tunnel agent on my server and have a subdomain pointing to OHIF. Access is controlled via Cloudflare Access.

However, I have not yet found a way to store the HTTP Basic Auth access data of OHIF / ORTHANC at Cloudflare. Does anyone know how I can do this? How can I define user groups (*@domain-abc.tld + *@domain-xyz.tld) with different rights (Lua script)?

I would be very grateful for your experience and step-by-step instructions!

Best regards

This is very old OHIF based on your screenshot, check out latest master branch and see if that solves your issue

Somehow I can’t get the newer OHIF Docker image to run via my Docker Compose file

version: '3.8'

services:
  pacs:
    container_name: orthanc
    image: jodogne/orthanc-plugins
    ports:
      - "8042:8042"
      - "4242:4242"
    volumes:
      - ./orthanc.json:/etc/orthanc/orthanc.json:ro
      - ./orthanc_db:/var/lib/orthanc/db/
    restart: always
    networks:
      - pacs

  ohif_viewer:
    container_name: ohif
    image: ohif/app:latest
    ports:
      - "3000:80"
    volumes:
      - ./nginx_ohif.conf:/etc/nginx/conf.d/default.conf:ro
      - ./ohif.js:/usr/share/nginx/html/app-config.js:ro
      - ./logo.png:/usr/share/nginx/html/logo.png:ro
    restart: always
    networks:
      - pacs

networks:
  pacs:
    external: true

Here you can find recipes for NginX and Orthanc and DCM4CHEE

Also we have other documentation on how to use docker