I have NextCloud installed via Ubuntu Snap. But I want to take the docker route instead. Every “how to” only shows how to set it up with reverse proxy configuration. I need to be able to do this without it. Any help?

Update: Figured it out! Made a domain name in Cloudflare Tunnels that point to https://localhost:11000. Then on NextCloud aio domain verification, I put the domain name that I made.

  • @redcalcium
    link
    English
    210 months ago

    I don’t think localhost.local would resolve from inside nextcloud docker container. If that’s the case, just try localhost instead.

    • @techgearwhips@lemmy.worldOP
      link
      fedilink
      English
      1
      edit-2
      10 months ago

      Localhost definitely won’t work because I will get the error “Domain must contain at least one dot!”.

      • @redcalcium
        link
        English
        110 months ago

        If you’re using docker compose, maybe you can use extra_hosts settings to add localhost.local

        extra_hosts:
          - "localhost.local:127.0.0.1"
        

        Then, you can also add localhost.local to your host machine’s /etc/hostsfile if it’s also not resolving localhost.local