Hi, this config example of OHIF is for dcm4che-secure with keycloak?
Auth: admin:admin is defined on keycloack?
I´m testing no OHIF with dcm4che-nosecure and work fine!.
But with secured set of services : missing CORS and Unauthorized errors
OHIF config:
window.config = {
// default: '/'
routerBasename: '/',
// default: ''
showStudyList: true,
servers: {
dicomWeb: [
{
name: 'DCM4CHEE',
wadoUriRoot: '
http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado',
qidoRoot: '
http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs',
wadoRoot: '
http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs',
qidoSupportsIncludeField: false,
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
requestOptions: {
auth: 'admin:admin',
},
},
],
},
studyListFunctionsEnabled: true,
};
Nginx Config:
server {
listen 80;
# set client body size to 500M, this is to allow uploading of DICOMs, throws '413 request entity too large nginx' error otherwise #
client_max_body_size 500M;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
Thanks for you help!
Regards