AI Gateway is now available: identity-aware access to any AI provider, eliminate API keys, and tunnel to self-hosted models. Get started

Community Guides

Remove GeoBlock Plugin

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

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

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

Remove the middleware configuration from dynamic config

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

http:
  middlewares:
    geoblock:
      plugin:
        geoblock:
          ...

Restart Traefik

Restart Traefik to apply the changes:

docker restart traefik

Next steps

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

⌘I

On this page