diff Resources/Configuration.json @ 685:b01cc78caba4

possibility to disable the DICOM/HTTP servers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 31 Jan 2014 17:45:27 +0100
parents 7bc5ccc550a1
children 2e67366aab83
line wrap: on
line diff
--- a/Resources/Configuration.json	Thu Jan 30 16:58:03 2014 +0100
+++ b/Resources/Configuration.json	Fri Jan 31 17:45:27 2014 +0100
@@ -132,5 +132,15 @@
 
   // Number of seconds without receiving any instance before a
   // patient, a study or a series is considered as stable.
-  "StableAge" : 60
+  "StableAge" : 60,
+
+  // Enable the HTTP server. If this parameter is set to "false",
+  // Orthanc acts as a pure DICOM server. The REST API and Orthanc
+  // Explorer will not be available.
+  "HttpServerEnabled" : true,
+
+  // Enable the DICOM server. If this parameter is set to "false",
+  // Orthanc acts as a pure REST server. It will not be possible to
+  // receive files or to do query/retrieve through the DICOM protocol.
+  "DicomServerEnabled" : true
 }