JamesTurland / JimsGarage

Homelab Goodies
2.18k stars 485 forks source link

No tls: certResolver? #30

Open dathbe opened 1 year ago

dathbe commented 1 year ago

I was following your examples and trying to figure out what to do with the

tls:
  certResolver:

entries (calling the appropriate certificateResolvers) I have in my https entrypoint once I create the second https-external entrypoint. Should I duplicate the entry in both? Leave only in one or another? Tweak it in the second one? Basically, I want to use the same certificates for the new entrypoint, and I don't want to create duplicate certificates.

I notice that your examples do not include a tls: certResolver entry in your entrypoints, so I'm wondering if I'm doing it wrong. But when I remove that entry from my internal https entrypoint, the webpages will not resolve. So for now I have duplicated my entry in both https entrypoints. This seems to be working, but I'd like to better understand why you've done it the way you have.

Thanks.