changeset 114:736d30badda0

large POST body
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Jul 2017 17:22:13 +0200
parents 2e826633420e
children 75bd7c364d9f
files Sphinx/source/faq/apache.rst Sphinx/source/faq/nginx.rst Sphinx/source/users/rest.rst
diffstat 3 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/faq/apache.rst	Thu Jul 20 17:14:55 2017 +0200
+++ b/Sphinx/source/faq/apache.rst	Thu Jul 20 17:22:13 2017 +0200
@@ -16,3 +16,10 @@
 
 *Note*: These instructions are for Ubuntu 11.10. You most probably
 have to adapt the absolute paths above to your distribution.
+
+You might also wish to adapt the ``LimitRequestBody`` `configuration
+option of Apache
+<https://www.cyberciti.biz/faq/apache-limiting-upload-size/>`__ to
+allow the uploading of large DICOM files if using the :ref:`REST API
+<sending-dicom-images>` of Orthanc.
+
--- a/Sphinx/source/faq/nginx.rst	Thu Jul 20 17:14:55 2017 +0200
+++ b/Sphinx/source/faq/nginx.rst	Thu Jul 20 17:22:13 2017 +0200
@@ -22,6 +22,12 @@
 *Note:* Thanks to Qaler for `submitting this information
 <https://groups.google.com/d/msg/orthanc-users/oTMCM6kElfw/uj0r062mptoJ>`__.
 
+You might also wish to adapt the ``client_max_body_size``
+`configuration option of nginx
+<http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size>`__
+to allow the uploading of DICOM files larger than the default 1MB if
+using the :ref:`REST API <sending-dicom-images>` of Orthanc.
+
 
 .. _nginx-cors:
 
--- a/Sphinx/source/users/rest.rst	Thu Jul 20 17:14:55 2017 +0200
+++ b/Sphinx/source/users/rest.rst	Thu Jul 20 17:22:13 2017 +0200
@@ -25,6 +25,8 @@
 JSON.
 
 
+.. _sending-dicom-images:
+
 Sending DICOM images
 --------------------