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 geoblocking. If you previously installed the Traefik GeoBlock plugin, remove it before enabling native geoblocking to avoid duplicate blocking or startup errors.
After cleanup, follow Enable Geo-blocking to configure native geoblocking 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:
entryPoints:
  websecure:
    http:
      middlewares:
        # Remove this line
        - geoblock@file
2

Remove the plugin definition from Traefik static config

Delete the GeoBlock plugin block from /config/traefik/traefik_config.yml:
experimental:
  plugins:
    geoblock:
      moduleName: github.com/PascalMinder/geoblock
      version: v0.3.2
3

Remove the middleware configuration from dynamic config

Delete the GeoBlock middleware section from /config/traefik/dynamic_config.yml:
http:
  middlewares:
    geoblock:
      plugin:
        geoblock:
          ...
4

Restart Traefik

Restart Traefik to apply the changes:
docker restart traefik

Next steps

Follow Enable Geo-blocking to configure native geoblocking in Pangolin.