From 06fed0db1722b640749f1e2f1402fe644f4b1e77 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 9 Jun 2016 15:14:46 +0100 Subject: [PATCH 1/3] Add minify directive --- caddyhttp/httpserver/plugin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index 0e284ba7..492cc326 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -328,6 +328,7 @@ var directives = []string{ "git", // github.com/abiosoft/caddy-git // directives that add middleware to the stack + "minify", // github.com/hacdias/caddy-minify "log", "gzip", "errors", From 83451ea2a0f6177214ec7e9f4e2d1a496d0b4a4d Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 9 Jun 2016 16:06:50 +0100 Subject: [PATCH 2/3] Update plugin.go --- caddyhttp/httpserver/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index 492cc326..a5c3a6e1 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -328,10 +328,10 @@ var directives = []string{ "git", // github.com/abiosoft/caddy-git // directives that add middleware to the stack - "minify", // github.com/hacdias/caddy-minify "log", "gzip", "errors", + "minify", // github.com/hacdias/caddy-minify "ipfilter", // github.com/pyed/ipfilter "search", // github.com/pedronasser/caddy-search "header", From 1e4a4109a7216761511c9660b60c7a7f19f6aa0d Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Fri, 10 Jun 2016 07:31:07 +0100 Subject: [PATCH 3/3] Update plugin.go --- caddyhttp/httpserver/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index a5c3a6e1..93c486a2 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -331,7 +331,7 @@ var directives = []string{ "log", "gzip", "errors", - "minify", // github.com/hacdias/caddy-minify + "minify", // github.com/hacdias/caddy-minify "ipfilter", // github.com/pyed/ipfilter "search", // github.com/pedronasser/caddy-search "header",