diff --git a/docs/content/doc/setup/docker-start-to-finish.md b/docs/content/doc/setup/docker-start-to-finish.md index 2a1253746..a5af2a521 100644 --- a/docs/content/doc/setup/docker-start-to-finish.md +++ b/docs/content/doc/setup/docker-start-to-finish.md @@ -90,13 +90,20 @@ server { location /api/ { proxy_pass http://api:3456; + client_max_body_size 20M; } } {{< /highlight >}} This is a simple proxy configuration which will forward all requests to `/api/` to the api container and everything else to the frontend. -**Note:** Even if you want to make your installation available under a different port, you don't need to change anything in this configuration. +
+NOTE: Even if you want to make your installation available under a different port, you don't need to change anything in this configuration. +
+ +
+NOTE: If you change the max upload size in Vikunja's settings, you'll need to also change the client_max_body_size in the nginx proxy config. +
## Run it diff --git a/docs/content/doc/setup/full-docker-example.md b/docs/content/doc/setup/full-docker-example.md index d21578d13..3fd114967 100644 --- a/docs/content/doc/setup/full-docker-example.md +++ b/docs/content/doc/setup/full-docker-example.md @@ -181,10 +181,15 @@ server { location /api/ { proxy_pass http://api:3456; + client_max_body_size 20M; } } {{< /highlight >}} +
+NOTE: If you change the max upload size in Vikunja's settings, you'll need to also change the client_max_body_size in the nginx proxy config. +
+ `docker-compose.yml` config: {{< highlight yaml >}} diff --git a/docs/content/doc/setup/reverse-proxies.md b/docs/content/doc/setup/reverse-proxies.md index 087017868..3abf4102c 100644 --- a/docs/content/doc/setup/reverse-proxies.md +++ b/docs/content/doc/setup/reverse-proxies.md @@ -45,10 +45,15 @@ server { location /api/ { proxy_pass http://localhost:3456; + client_max_body_size 20M; } } {{< /highlight >}} +
+NOTE: If you change the max upload size in Vikunja's settings, you'll need to also change the client_max_body_size in the nginx proxy config. +
+ ### without gzip {{< highlight conf >}} @@ -64,10 +69,15 @@ server { location /api/ { proxy_pass http://localhost:3456; + client_max_body_size 20M; } } {{< /highlight >}} +
+NOTE: If you change the max upload size in Vikunja's settings, you'll need to also change the client_max_body_size in the nginx proxy config. +
+ ## Apache Put the following config in `cat /etc/apache2/sites-available/vikunja.conf`: