From 64c9f20919736efa082e3339c67e37493316eaa9 Mon Sep 17 00:00:00 2001 From: Andrey Blinov Date: Thu, 15 Mar 2018 15:30:25 +0200 Subject: [PATCH] httpserver: Add geoip directive (closes #1819) (#2066) * Add Geoip plugin to httpserver/plugin.go * Move GeoIP plugin higher --- caddyhttp/httpserver/plugin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index 93811abc..c8b4891a 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -500,6 +500,7 @@ var directives = []string{ "ext", "gzip", "header", + "geoip", // github.com/kodnaplakal/caddy-geoip "errors", "authz", // github.com/casbin/caddy-authz "filter", // github.com/echocat/caddy-filter