Please help! All logs says NC AIO is up and running, still cannot connect

Can someone take a look at my setup. I cannot find any error messages but I cannot connect to Nextcloud. I am on a Johnsbo n2, Intel i7-4770, 8b ram, Ubuntu 22.04, connecting to my subdomain, with Nextcloud installed on external raid 1 setup.

sudo docker-compose logs nextcloud
Attaching to nextcloud-aio-mastercontainer
nextcloud-aio-mastercontainer | Initial startup of Nextcloud All-in-One complete!
nextcloud-aio-mastercontainer | You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
nextcloud-aio-mastercontainer | E.g. https://internal.ip.of.this.server:8080
nextcloud-aio-mastercontainer |
nextcloud-aio-mastercontainer | If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
nextcloud-aio-mastercontainer | https://your-domain-that-points-to-this-server.tld:8443
nextcloud-aio-mastercontainer | {“level”:“info”,“ts”:1711399235.6254015,“msg”:“using provided configuration”,“config_file”:“/Caddyfile”,“config_adapter”:“”}
nextcloud-aio-mastercontainer | [Mon Mar 25 20:40:35.639886 2024] [mpm_event:notice] [pid 128:tid 133297569757960] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured – resuming normal operations
nextcloud-aio-mastercontainer | [Mon Mar 25 20:40:35.639933 2024] [core:notice] [pid 128:tid 133297569757960] AH00094: Command line: ‘httpd -D FOREGROUND’
nextcloud-aio-mastercontainer | [25-Mar-2024 20:40:35] NOTICE: fpm is running, pid 138
nextcloud-aio-mastercontainer | [25-Mar-2024 20:40:35] NOTICE: ready to handle connections

docker-compose logs nextcloud
Attaching to nextcloud-aio-mastercontainer
nextcloud-aio-mastercontainer | Initial startup of Nextcloud All-in-One complete!
nextcloud-aio-mastercontainer | You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
nextcloud-aio-mastercontainer | E.g. https://internal.ip.of.this.server:8080
nextcloud-aio-mastercontainer |
nextcloud-aio-mastercontainer | If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
nextcloud-aio-mastercontainer | https://your-domain-that-points-to-this-server.tld:8443
nextcloud-aio-mastercontainer | {“level”:“info”,“ts”:1711398717.8487136,“msg”:“using provided configuration”,“config_file”:“/Caddyfile”,“config_adapter”:“”}
nextcloud-aio-mastercontainer | [Mon Mar 25 20:31:57.853823 2024] [mpm_event:notice] [pid 126:tid 129771792431880] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured – resuming normal operations
nextcloud-aio-mastercontainer | [Mon Mar 25 20:31:57.853861 2024] [core:notice] [pid 126:tid 129771792431880] AH00094: Command line: ‘httpd -D FOREGROUND’
nextcloud-aio-mastercontainer | [25-Mar-2024 20:31:57] NOTICE: fpm is running, pid 137
nextcloud-aio-mastercontainer | [25-Mar-2024 20:31:57] NOTICE: ready to handle connections

Docker-compose.yml
version: ‘3.8’
services:
nextcloud:
container_name: nextcloud-aio-mastercontainer
image: nextcloud/all-in-one:latest
init: true
restart: always
# Assuming you’re using a reverse proxy, remove exposed ports
ports:
- “80:80”
# - “444:443” # Update port to avoid conflict (adjust if needed)
# - “3478:3478”
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
- “/mnt/raid1:/mnt/data”
environment:
# Add any environment variables needed by Nextcloud AIO here
# For example:
NEXTCLOUD_ADMIN_USER: xxxx #commented out
NEXTCLOUD_ADMIN_PASSWORD: xxxxx

New Apache reverse proxy service (assuming you have a separate service for this)

… (configuration for your reverse proxy service)

volumes:
nextcloud_aio_mastercontainer:

Apache.conf

Basic server configuration (Listen on port 8080)

Listen 8080

<VirtualHost *:8080>

Replace with your domain name (optional)

ServerName keemosavy.duckdns.org

Enable mod_proxy and related modules if not already enabled

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

Preserve host header for Nextcloud

ProxyPreserveHost On

Disable proxy requests for this virtual host

ProxyRequests Off

Forward all traffic to Nextcloud AIO on port 80

ProxyPass http://nextcloud:80/ ProxyPassReverse / http://nextcloud/

HTTPS configuration with reverse proxy for Nextcloud

Listen 4433 ssl

# Replace with your domain name (optional) ServerName keemosavy.duckdns.org
# Configure SSL using your certificates (replace paths)
SSLEngine on
SSLCertificateFile /path/to/your/server.crt
SSLCertificateKeyFile /path/to/your/server.key

# Enable mod_proxy and related modules (already loaded above)

# Preserve host header for Nextcloud
ProxyPreserveHost On

# Disable proxy requests for this virtual host
ProxyRequests Off

Hi, can you follow all-in-one/reverse-proxy.md at main · nextcloud/all-in-one · GitHub

(edit)
This is the same page I loaded into the AI.

When they talk about Apache, are they talking about the Apache.conf file?

Can I? Probably not, but I will give it a massive try. Which AI would you recommend for help? I have been using Chat, MS Copilot.

Thank you for the reference.