From c58ffa2d51285b4106b0b5761a2c3d2af31d2ece Mon Sep 17 00:00:00 2001 From: Zoey Date: Fri, 13 Jan 2023 21:47:47 +0100 Subject: [PATCH 1/3] Add Notes on Cloudflare to readme Signed-off-by: Zoey --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.md b/readme.md index 6b2782ae..6555610c 100644 --- a/readme.md +++ b/readme.md @@ -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. From ca685e4de2fb0528fbfe5a33553f03ac309141d2 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sat, 14 Jan 2023 22:00:36 +0100 Subject: [PATCH 2/3] add suggestion Co-authored-by: Simon L. Signed-off-by: Zoey --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6555610c..b0681a86 100644 --- a/readme.md +++ b/readme.md @@ -131,7 +131,7 @@ The easiest way to run it with Portainer on Linux is to use Portainer's stacks f ### 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. - +- It is very likely that the in AIO included collabora (Nextcloud Office) does not work out of the box behind Cloudflare. You need to follow https://github.com/nextcloud/all-in-one/discussions/1358 in order to resolve this yourself. There is unfortunately no secure way to automate this for you. ### 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. From d47f1bc403432af90c61e9a831e948b789de3a1d Mon Sep 17 00:00:00 2001 From: Zoey Date: Sat, 14 Jan 2023 22:00:59 +0100 Subject: [PATCH 3/3] Update readme.md Signed-off-by: Zoey --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index b0681a86..2ff9711e 100644 --- a/readme.md +++ b/readme.md @@ -132,6 +132,7 @@ The easiest way to run it with Portainer on Linux is to use Portainer's stacks f - 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. - It is very likely that the in AIO included collabora (Nextcloud Office) does not work out of the box behind Cloudflare. You need to follow https://github.com/nextcloud/all-in-one/discussions/1358 in order to resolve this yourself. There is unfortunately no secure way to automate this for you. + ### 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.