diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index 3823b8e8c..9d2340672 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -344,6 +344,7 @@ var directives = []string{ // directives that add middleware to the stack "log", "gzip", + "locale", // github.com/simia-tech/caddy-locale "errors", "minify", // github.com/hacdias/caddy-minify "ipfilter", // github.com/pyed/ipfilter diff --git a/dist/CHANGES.txt b/dist/CHANGES.txt index c1f138d3c..276e2a21d 100644 --- a/dist/CHANGES.txt +++ b/dist/CHANGES.txt @@ -11,11 +11,16 @@ CHANGES - Renamed -directives flag to -plugins - Restarting no longer requires spawning a new process - Removed -restart option -- log: New {request} placeholder to dump entire request (sans body) +- fastcgi: Env variables now support placeholders +- import: Import paths now relative to Caddyfile, not current working dir +- log: New {request} placeholder to dump entire request (without body) - markdown: Overhauled; removed site generation features -- proxy: More control of headers +- proxy: More control of headers; deprecating proxy_header subdirective - proxy: Specify multiple upstreams with optional port ranges -- proxy: New preset 'transparent' to simplify common pass-thrus +- proxy: New preset 'transparent' to simplify common pass-thru headers +- proxy: Chooses longest matching path; order declared is irrelevant +- redir: Added if and if_op subdirectives to make conditional redirects +- rewrite: Support for if_op to change how conditions are evaluated - tls: Generate self-signed certificates in memory - tls: Support for ACME DNS challenge with 10 providers - tls: Support for TLS-SNI challenge during restarts