This is my first post here. I have Nextcloud running in Docker Compose and Nextcloud works fine (as far as I can tell). I followed to the letter…this YouTube guide. https://www.youtube.com/watch?v=3AYl_o8H450&t=345s
I have read, and read, and read, and watched YouTube, but I can’t get this NGINX issue resolved. In fact, I could never get it resolved with Home Assistant and ended up paying $5 month to Nabu Casa to resolve me externally. I must have something going on with my AT&T modem BGW210-700 or something simplistically stupid on my side, but I’ve fought this for what seems like months, so apologies if you read this and see the error. Ports 443 & 80 are forwarded to 192.168.1.xxx
When I first clicked on my solarczar.duckdns.org link from within nginx (192.168.1.xx:81) where I have established my SSL Certificate and have it bound to the http://nextcloud:80 docker container, and the nextcloud logo popped up, I was thrilled. Finally!
Now I have no idea what it is doing, as it works locally when I go https://solarczar.duckdns.org on my local LAN, but stops after about 20min. If I go to the 192.168.1.xxx:8080 port then I get “Safari can’t connect to server”. If I go 192.168.1.xxx:80 then I get the NGNIX “Congratulations” page.
I reloaded my certificates, restarted my containers, triple checked my port forwarding, and I’m nowhere on this. here is my docker container, minus the personal stuff…
version: '3.3' services: nextcloud: image: nextcloud:latest container_name: nextcloud environment: - PUID=1000 - PGID=1000 - TZ=America/New_York volumes: - //opt/nextcloud/config:/config - //opt/nextcloud/data:/data depends_on: - mariadb restart: unless-stopped mariadb: image: linuxserver/mariadb container_name: mariadb environment: - PUID=1000 - PGID=1000 - MYSQL_ROOT_PASSWORD=mypassword - TZ=America/Chicago volumes: - /opt/mariadb/config:/config restart: unless-stopped nginx-proxy-manager: container_name: nginx-proxy-manager ports: - '81:8181' - '80:8080' - '443:4443' volumes: - //opt/nginx-proxy-manager:/config restart: unless-stopped image: jlesage/nginx-proxy-manager duckdns: container_name: duckdns environment: - PUID=1000 - PGID=1000 - TZ=america/Chicago - SUBDOMAINS=solarcloud - TOKEN=TK (Removed Token for personal) restart: unless-stopped image: linuxserver/duckdns:latest
My AT&T BGW210-700 Router port Forwarding (site will not allow a jpg post)…
Global port 443-443 TCP/UDP Base port 443
Global port 80-80 TCP/UDP Base port 80
Port forward 443 to 192.168.1.xxx
Port forward 80 to 192.168.1.xxx
I just don’t know what I’m doing wrong. I’m a cook not a chef. I follow the recipe, but not sure where I’m going wrong.
Any help is appreciated…