Mercurial > hg > orthanc
comparison Resources/Configuration.json @ 1592:d73124f6b439
configuration option HttpDescribeErrors
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Aug 2015 11:35:16 +0200 |
parents | ba0226474e22 |
children | de1413733c97 |
comparison
equal
deleted
inserted
replaced
1591:cd9d99fe32e9 | 1592:d73124f6b439 |
---|---|
40 // find shared libraries. | 40 // find shared libraries. |
41 "Plugins" : [ | 41 "Plugins" : [ |
42 ], | 42 ], |
43 | 43 |
44 | 44 |
45 | |
45 /** | 46 /** |
46 * Configuration of the HTTP server | 47 * Configuration of the HTTP server |
47 **/ | 48 **/ |
49 | |
50 // Enable the HTTP server. If this parameter is set to "false", | |
51 // Orthanc acts as a pure DICOM server. The REST API and Orthanc | |
52 // Explorer will not be available. | |
53 "HttpServerEnabled" : true, | |
48 | 54 |
49 // HTTP port for the REST services and for the GUI | 55 // HTTP port for the REST services and for the GUI |
50 "HttpPort" : 8042, | 56 "HttpPort" : 8042, |
51 | 57 |
58 // When the following option is "true", if an error is encountered | |
59 // while calling the REST API, a JSON message describing the error | |
60 // is put in the HTTP answer. This feature can be disabled if the | |
61 // HTTP client does not properly handles such answers. | |
62 "HttpDescribeErrors" : true, | |
63 | |
64 // Enable HTTP compression to improve network bandwidth utilization, | |
65 // at the expense of more computations on the server. Orthanc | |
66 // supports the "gzip" and "deflate" HTTP encodings. | |
67 "HttpCompressionEnabled" : true, | |
68 | |
52 | 69 |
53 | 70 |
54 /** | 71 /** |
55 * Configuration of the DICOM server | 72 * Configuration of the DICOM server |
56 **/ | 73 **/ |
74 | |
75 // Enable the DICOM server. If this parameter is set to "false", | |
76 // Orthanc acts as a pure REST server. It will not be possible to | |
77 // receive files or to do query/retrieve through the DICOM protocol. | |
78 "DicomServerEnabled" : true, | |
57 | 79 |
58 // The DICOM Application Entity Title | 80 // The DICOM Application Entity Title |
59 "DicomAet" : "ORTHANC", | 81 "DicomAet" : "ORTHANC", |
60 | 82 |
61 // Check whether the called AET corresponds during a DICOM request | 83 // Check whether the called AET corresponds during a DICOM request |
77 "Jpeg2000TransferSyntaxAccepted" : true, | 99 "Jpeg2000TransferSyntaxAccepted" : true, |
78 "JpegLosslessTransferSyntaxAccepted" : true, | 100 "JpegLosslessTransferSyntaxAccepted" : true, |
79 "JpipTransferSyntaxAccepted" : true, | 101 "JpipTransferSyntaxAccepted" : true, |
80 "Mpeg2TransferSyntaxAccepted" : true, | 102 "Mpeg2TransferSyntaxAccepted" : true, |
81 "RleTransferSyntaxAccepted" : true, | 103 "RleTransferSyntaxAccepted" : true, |
104 | |
82 | 105 |
83 | 106 |
84 /** | 107 /** |
85 * Security-related options for the HTTP server | 108 * Security-related options for the HTTP server |
86 **/ | 109 **/ |
147 "HttpProxy" : "", | 170 "HttpProxy" : "", |
148 | 171 |
149 // Set the timeout for HTTP requests issued by Orthanc (in seconds). | 172 // Set the timeout for HTTP requests issued by Orthanc (in seconds). |
150 "HttpTimeout" : 10, | 173 "HttpTimeout" : 10, |
151 | 174 |
175 // Enable the verification of the peers during HTTPS requests. | |
176 // Reference: http://curl.haxx.se/docs/sslcerts.html | |
177 "HttpsVerifyPeers" : true, | |
178 | |
179 // Path to the CA (certification authority) certificates to validate | |
180 // peers in HTTPS requests. From curl documentation ("--cacert" | |
181 // option): "Tells curl to use the specified certificate file to | |
182 // verify the peers. The file may contain multiple CA | |
183 // certificates. The certificate(s) must be in PEM format." | |
184 "HttpsCACertificates" : "", | |
185 | |
152 | 186 |
153 | 187 |
154 /** | 188 /** |
155 * Advanced options | 189 * Advanced options |
156 **/ | 190 **/ |
171 | 205 |
172 // Number of seconds without receiving any instance before a | 206 // Number of seconds without receiving any instance before a |
173 // patient, a study or a series is considered as stable. | 207 // patient, a study or a series is considered as stable. |
174 "StableAge" : 60, | 208 "StableAge" : 60, |
175 | 209 |
176 // Enable the HTTP server. If this parameter is set to "false", | |
177 // Orthanc acts as a pure DICOM server. The REST API and Orthanc | |
178 // Explorer will not be available. | |
179 "HttpServerEnabled" : true, | |
180 | |
181 // Enable the DICOM server. If this parameter is set to "false", | |
182 // Orthanc acts as a pure REST server. It will not be possible to | |
183 // receive files or to do query/retrieve through the DICOM protocol. | |
184 "DicomServerEnabled" : true, | |
185 | |
186 // By default, Orthanc compares AET (Application Entity Titles) in a | 210 // By default, Orthanc compares AET (Application Entity Titles) in a |
187 // case-insensitive way. Setting this option to "true" will enable | 211 // case-insensitive way. Setting this option to "true" will enable |
188 // case-sensitive matching. | 212 // case-sensitive matching. |
189 "StrictAetComparison" : false, | 213 "StrictAetComparison" : false, |
190 | 214 |
234 "QueryRetrieveSize" : 10, | 258 "QueryRetrieveSize" : 10, |
235 | 259 |
236 // When handling a C-Find SCP request, setting this flag to "false" | 260 // When handling a C-Find SCP request, setting this flag to "false" |
237 // will enable case-insensitive match for PN value representation | 261 // will enable case-insensitive match for PN value representation |
238 // (such as PatientName). By default, the search is case-insensitive. | 262 // (such as PatientName). By default, the search is case-insensitive. |
239 "CaseSensitivePN" : false, | 263 "CaseSensitivePN" : false |
240 | |
241 // Enable HTTP compression to improve network bandwidth utilization, | |
242 // at the expense of more computations on the server. Orthanc | |
243 // supports the "gzip" and "deflate" encodings. | |
244 "HttpCompressionEnabled" : true, | |
245 | |
246 // Enable the verification of the peers during HTTPS requests. | |
247 // Reference: http://curl.haxx.se/docs/sslcerts.html | |
248 "HttpsVerifyPeers" : true, | |
249 | |
250 // Path to the CA (certification authority) certificates to validate | |
251 // peers in HTTPS requests. From curl documentation ("--cacert" | |
252 // option): "Tells curl to use the specified certificate file to | |
253 // verify the peers. The file may contain multiple CA | |
254 // certificates. The certificate(s) must be in PEM format." | |
255 "HttpsCACertificates" : "" | |
256 } | 264 } |