Hello, I recently got into Photoprism and it’s now my one and only app that I care to spend time feeding. Except Google says I’m running out of space please buy more and I want to do badly but nah. So I found mailu to be a pretty simple docker. Photoprism was working so well initially as dynamic DNS and then I moved to Cloudflare and the world opened up for more. Cloudflare wanted money for portzilla so I found NGINX and that reverse proxy manager is awesome. However I could not figure out how to set it up to get mailu working. I found hints that Traefik could fix that with simple yml files per each service. Could someone please share some info on this? I so far have gotten Traefik to come up but then followed a YouTube video to add TLS and I’m not able to login internally or externally. I think the cloudflare connection is working because I get the same 404 error page as I do locally with 10.178.35.83:9080 as an example I get the same page as “my page.com”. The video said to expect that but did not elaborate as to how they fix it or how they bring NGINX under the traefik umbrella.

https://youtu.be/XH9XgiVM_z4?si=G8BQXd3zO5AhILy-

He has the config files here:

https://github.com/JamesTurland/JimsGarage/tree/main

I used his version 3 per the video, but now I can’t get to the dashboard.

Anyway after I do figure out this dashboard, the next hurdle would be to figure out how to setup mailu so I can send emails to [email protected]

I’m behind an ONT, which can forward ports and then a Unifi Controller with USG which can also forward ports. Currently I’m forwarding 80 and 443 on both right to the computer holding docker.

  • werefreeatlast@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Yes this is what I was thinking, but like I said I ended up with not being able to login to the traefik dashboard. I’m going to disable NGINX and keep trying to get to the dashboard again. I’ll have some play time in a few hours. However from some searching, it seems that having both can be okay?

    • werefreeatlast@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Oh this is embarrassing… NGINX the webserver! Not the reverse proxy manager! Okay now I get it! People use Traefik to serve NGINX sites not NGINX reverse proxy manager services. Gotcha! Okay now it makes sense, it’s one or the other.

      • Lupec@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Yup, traefik isn’t able to do any sort of serving itself so for anything more complex than a handful of ports you’re expected to use nginx or whatever webserver to serve what you need and then have traefik on top of that as a reverse proxy. Or at least that’s my understanding as a somewhat new user.