GUACAMOLE-1174: Merge document Kubernetes "exec-command" parameter.
diff --git a/src/chapters/reverse-proxy.xml b/src/chapters/reverse-proxy.xml
index f6c372d..0e9106c 100644
--- a/src/chapters/reverse-proxy.xml
+++ b/src/chapters/reverse-proxy.xml
@@ -220,6 +220,26 @@
}</programlisting>
</informalexample>
</section>
+ <section xml:id="nginx-file-upload-size">
+ <title>Adjusting file upload limits</title>
+ <para>When proxying Guacamole through Nginx, you may run into issues with the default
+ limitations that Nginx places on file uploads (1MB). The errors you receive can
+ be non-intuitive (permission denied, for example), but may be indicative of these
+ limits. The <code>client_max_body_size</code> parameter can be set within the
+ <code>location</code> block to configure the maximum file upload size:</para>
+ <informalexample>
+ <programlisting>location /guacamole/ {
+ proxy_pass http://<replaceable>HOSTNAME</replaceable>:<replaceable>8080</replaceable>/guacamole/;
+ proxy_buffering off;
+ proxy_http_version 1.1;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection $http_connection;
+ <emphasis>client_max_body_size <replaceable>1g</replaceable>;</emphasis>
+ access_log off;
+}</programlisting>
+ </informalexample>
+ </section>
</section>
<section xml:id="apache">
<title>Apache and <package>mod_proxy</package></title>