diff --git a/manual/server.rst b/manual/server.rst index a805b4889c..d615e433d9 100644 --- a/manual/server.rst +++ b/manual/server.rst @@ -267,6 +267,10 @@ server. In this case, run the calibre server as:: Now setup the virtual host in your main server, for example, for nginx:: + http { + client_max_body_size 64M; # needed to upload large books + } + server { listen [::]:80; server_name myserver.example.com; @@ -302,6 +306,10 @@ The key parameter here is ``--url-prefix /calibre``. This causes the Content ser With nginx, the required configuration is:: + http { + client_max_body_size 64M; # needed to upload large books + } + proxy_set_header X-Forwarded-For $remote_addr; location /calibre/ { proxy_buffering off;