0

I'm trying to figure out a way for Caddy v2 to whitelist certain domains, like something from NOIP, so that I can access my server anywhere without worrying about my IP changing.

Trouble is I can't figure out how to get it to work with domains, it just won't open. My current setup is something like this:

www.example.com {
    @teammember {
        remote_ip forwarded somethingfromnoip.ddns.net
    }
    handle @teammember {
        reverse_proxy localhost:8096 
    }
    respond "You are attempting to access protected resources!" 403
}

Is this doable? Are there any other solutions for this? I have access to my own domains if need-be

Rui
  • 31
  • 7

0 Answers0