X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/52cca9dc7c50ef8c54c9dc83a2ccf0129c27485e..0f0a0cd26446403fb987121af58bec550f3cf681:/doc/install/install-api-server.html.textile.liquid?ds=sidebyside diff --git a/doc/install/install-api-server.html.textile.liquid b/doc/install/install-api-server.html.textile.liquid index fb43f783f0..69ff768ee1 100644 --- a/doc/install/install-api-server.html.textile.liquid +++ b/doc/install/install-api-server.html.textile.liquid @@ -203,7 +203,7 @@ For best performance, we recommend you use Nginx as your Web server front-end, w
    -
  1. Install Nginx and Phusion Passenger.
  2. +
  3. Install Nginx and Phusion Passenger.
  4. Puma is already included with the API server's gems. We recommend you run it as a service under runit or a similar tool. Here's a sample runit script for that:

    @@ -244,6 +244,14 @@ exec chpst -m 1073741824 -u webserver-user:webserver-group -e "$envdir" \ passenger_enabled on; # If you're using RVM, uncomment the line below. #passenger_ruby /usr/local/rvm/wrappers/default/ruby; + + # This value effectively limits the size of API objects users can + # create, especially collections. If you change this, you should + # also ensure the following settings match it: + # * `client_max_body_size` in the server section below + # * `client_max_body_size` in the Workbench Nginx configuration (twice) + # * `max_request_size` in the API server's application.yml file + client_max_body_size 128m; } upstream api { @@ -277,10 +285,7 @@ server { index index.html index.htm index.php; - # This value effectively limits the size of API objects users can create, - # especially collections. If you change this, you should also set - # `max_request_size` in the API server's application.yml file to the same - # value. + # Refer to the comment about this setting in the server section above. client_max_body_size 128m; location / {