Need some help with geoblocking caddy.
from Vanilla_PuddinFudge@infosec.pub to selfhosted@lemmy.world on 08 May 15:30
https://infosec.pub/post/27936771

I did the whole xcaddy routine with the plugin and I moved it into /usr/bin and it works, displays my site, but I’m not blocking anything. I’ve edited and edited and restarted and I can’t see the issue. My config matches many similar ones online. I figure someone might spot my blunder in my config, so here it is.

jellyfin.nunya.biz {
    reverse_proxy mydude:8096
    @mygeofilter {
        maxmind_geolocation {
        db_path "/mnt/geoip/GeoLite2-Country_20250502/GeoLite2-Country.mmdb
        allow_countries US
        }
    } 
}

#selfhosted

threaded - newest

Penta@lemmy.world on 08 May 15:40 collapse

You are defining the geofilter, but not using it. Try doing “reverse_proxy @mygeofilter mydude:8096”

Vanilla_PuddinFudge@infosec.pub on 08 May 15:44 collapse

You have done a good deed this day. Thank you very much!