Skip to main content

Try free on Pangolin Cloud

Fastest way to get started with Pangolin using the hosted control plane. No credit card required.
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:
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-location to configure the geo-location database used by native geo-blocking in Pangolin.