Skip to main content
This is a community guide and is not officially supported. If you have any issues, please reach out to the community on Discord or Github discussions.
Pangolin now supports native geo-blocking. If you previously installed the Traefik GeoBlock plugin, remove it before enabling native geo-blocking to avoid duplicate blocking or startup errors.
After cleanup, follow Enable Geo-location to configure the geo-location database used by native geo-blocking in Pangolin.

Remove the GeoBlock plugin

1

Remove GeoBlock middleware references

Remove any references to geoblock@file from your Traefik entry points, routers, or labels.Example removal in /config/traefik/traefik_config.yml:
2

Remove the plugin definition from Traefik static config

Delete the GeoBlock plugin block from /config/traefik/traefik_config.yml:
3

Remove the middleware configuration from dynamic config

Delete the GeoBlock middleware section from /config/traefik/dynamic_config.yml:
4

Restart Traefik

Restart Traefik to apply the changes:

Next steps

Follow Enable Geo-location to configure the geo-location database used by native geo-blocking in Pangolin.