Add Notes on Cloudflare to readme

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2023-01-13 21:47:47 +01:00
parent 54aba036bd
commit c58ffa2d51
No known key found for this signature in database
GPG key ID: 02A3919EB4F67328

View file

@ -128,6 +128,10 @@ Also, you may be interested in adjusting Nextcloud's Datadir to store the files
### How to run AIO with Portainer?
The easiest way to run it with Portainer on Linux is to use Portainer's stacks feature and use [this docker-compose file](./docker-compose.yml) in order to start AIO correctly.
### Notes on Cloudflare (proxy/tunnel)
- Make sure to [disable Cloudflares Rocket Loader feature](https://help.nextcloud.com/t/login-page-not-working-solved/149417/8) as otherwise Nextcloud's login prompt will not be shown.
- Cloudflare only supports uploading files up to 100 MB in the free plan, if you try to upload bigger files you will get an error (413 - Payload Too Large). If you need to upload bigger files, you need to disable the proxy option in your DNS settings, or you must use another proxy than Cloudflare tunnels. Both options will disable Cloudflare DDoS protection.
### How to run Nextcloud behind a Cloudflare Tunnel?
Although it does not seems like it is the case but from AIO perspective a Cloudflare Tunnel works like a reverse proxy. So please follow the [reverse proxy documentation](./reverse-proxy.md) where is documented how to make it run behind a Cloudflare Tunnel.