From 79f2deee42bf41ab5c15e6cc9d09f2441acf73d2 Mon Sep 17 00:00:00 2001 From: Hugues Lismonde Date: Thu, 22 Sep 2016 22:23:18 +0200 Subject: [PATCH] Add expires directive --- caddyhttp/httpserver/plugin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index 7a55a180..557bcf66 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -412,6 +412,7 @@ var directives = []string{ "ratelimit", // github.com/xuqingfeng/caddy-rate-limit "search", // github.com/pedronasser/caddy-search "header", + "expires", // github.com/epicagency/caddy-expires "redir", "status", "cors", // github.com/captncraig/cors/caddy