Cloudflare Tunnel and Nextcloud AIO

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Not sure where to find this?
  • Operating system and version (e.g., Ubuntu 24.04):
    • Windows 11
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.62
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Cloudflare Tunnel
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • When I am setting it up for the first time.
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Yes, Cloudflare

Summary of the issue you are facing:

I am installing Nextcloud AIO on windows 11 using docker. I am able to access it at 192.xxx.x.xx:8080 and I did the setup. When I go to cloudflare tunnel website it says the page can’t be displyed. I have it set to HTTPS with NO TLS 192.xxx.x.xx:11000.

I even tried localhost and HTTP etc but it still says the page can’t be displated.

Here is my docker compose -
services:
nextcloud:
image: Package all-in-one · GitHub
container_name: nextcloud-aio-mastercontainer
restart: always
init: true
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
ports: # Apache (set in APACHE_PORT)
- 8080:8080 # AIO web interface
environment:
- APACHE_PORT=11000
- APACHE_IP_BINDING=0.0.0.0
- SKIP_DOMAIN_VALIDATION=true
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

Here is my logs from docker for nextcloud-aio-nextcloud

https://pastebin.com/TWLMqRKv

Hello @Yusuf_Suleman,

welcome to the Nextcloud community! :handshake:

please review GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.