Automatic SSL Certificates for any Domain with Caddy

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 25

  • @zvrk
    @zvrk Рік тому +4

    More go videos please, this is really good I appreciate it

  • @utsavojha2953
    @utsavojha2953 Рік тому +3

    Youre videos and vibe are awesome tom! Thank you for sharing all the good stuff and Happy new year!

  • @g.sebastiangarces2003
    @g.sebastiangarces2003 Рік тому +1

    Thank you for the content. One of the pieces I'm misunderstanding is how do I redirect to a different server? lets say I want to build a TLS check + redirect service using caddy to check if a subdomain is allowed but I don't want to share this server (EC2) with the actual application. Also, would it be appropriate to have the TLS check service call a db to check for the domain if we didn't want to manually add/redeploy the TLS check service? I'm working on building a multi tenant app so I'm trying to piece things together. Much appreciated for the help.

  • @gguestdub3518
    @gguestdub3518 9 місяців тому

    a question, this is for lan local network????????????????????????????????????????????

  • @WebDevCody
    @WebDevCody Рік тому

    So what’s the point of the redirect service? Does it just act as some type of reverse proxy for where vercel hosts your app behind the scenes?

    • @TomDoesTech
      @TomDoesTech  Рік тому

      It will handle all redirect requests. I could just send the redirect request to the Next app, but that would make it harder to allow the user to bring their own domain

  • @AlissonPatrickPlus
    @AlissonPatrickPlus 8 місяців тому +1

    Valeu!

  • @sidwebworks9871
    @sidwebworks9871 Рік тому +2

    Happy to see you're still making great content. I am not active on Discord anymore but thank you for always supporting me Tom :)

    • @TomDoesTech
      @TomDoesTech  Рік тому

      Dude, that's so nice of you. Hope you're doing well Sid!

  • @noyou174
    @noyou174 Рік тому +3

    Great video!
    we need a node version PLEASE!

  • @ngimasherpa1667
    @ngimasherpa1667 Рік тому

    Thank you for such an amazing video. Please make more advanced videos on Express with TypeScript
    love from nepal

  • @joeyywill1234
    @joeyywill1234 Рік тому +3

    nice one tommo :)

  • @unblocking
    @unblocking 10 місяців тому

    Instead of just listing domains I want to allow, could I allow any domain that is pointed at my server?

    • @TomDoesTech
      @TomDoesTech  10 місяців тому +1

      Yeah, have the TLD check always return a 200 and you're good to go

    • @unblocking
      @unblocking 10 місяців тому

      Alright, Thank you.@@TomDoesTech

  • @euanmorgan5847
    @euanmorgan5847 Рік тому

    Great video, thanks! 😀
    Do you have any recommendations for how to setup a load balancer?
    Also what are the advantages of using the tls-check service as opposed to just manually adding the domains to the Caddyfile?

    • @TomDoesTech
      @TomDoesTech  Рік тому

      You can use Caddy as a load balancer, but it really depends what services you are already using. DigitalOcean & AWS have LB options.
      You could hard code the domain, but that would defeat the purpose of doing it this way. The reason you'd use a tls-check service is so you can add domains without having to update your config file

  • @snivels
    @snivels Рік тому

    So now that my domain is pointing to the IP and has an SSL cert, how am I hosting my app on that same URL?

    • @ChrysusTV
      @ChrysusTV 5 місяців тому

      A domain just points somewhere...doesn't host anything. For your own domain, would just point it wherever you're actually hosting the app, e.g. Azure App Service or maybe an AWS EC2 load balancer. For the domains you don't own (e.g. multi-tenant domains), clients don't host anything if they're just white labeling your service. They will just point to your Caddy auto-signer which will, as with your own domain, proxy to your service running somewhere. Basically any domain just points to the location that will accept the incoming request. What you do with that request and the infrastructure you use to support it is your own design decision.