1
0

Mention client_max_body_size in nginx proxy settings

This commit is contained in:
kolaente
2020-08-17 22:15:48 +02:00
parent 14c27600d8
commit 28fd0e91ee
3 changed files with 23 additions and 1 deletions

View File

@ -45,10 +45,15 @@ server {
location /api/ {
proxy_pass http://localhost:3456;
client_max_body_size 20M;
}
}
{{< /highlight >}}
<div class="notification is-warning">
<b>NOTE:</b> If you change the max upload size in Vikunja's settings, you'll need to also change the <code>client_max_body_size</code> in the nginx proxy config.
</div>
### without gzip
{{< highlight conf >}}
@ -64,10 +69,15 @@ server {
location /api/ {
proxy_pass http://localhost:3456;
client_max_body_size 20M;
}
}
{{< /highlight >}}
<div class="notification is-warning">
<b>NOTE:</b> If you change the max upload size in Vikunja's settings, you'll need to also change the <code>client_max_body_size</code> in the nginx proxy config.
</div>
## Apache
Put the following config in `cat /etc/apache2/sites-available/vikunja.conf`: