diff options
author | Matthew Holt <[email protected]> | 2019-10-16 15:18:02 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2019-10-16 15:18:02 -0600 |
commit | a458544d9f6e6aaf72aeab0454acfa482880d3d6 (patch) | |
tree | 7fa6b1806809ede3f81e9949ec819864f294526a /README.md | |
parent | 2f91b44587fe487b6a05c1c7e56833247e4b8c79 (diff) | |
download | caddy-a458544d9f6e6aaf72aeab0454acfa482880d3d6.tar.gz caddy-a458544d9f6e6aaf72aeab0454acfa482880d3d6.zip |
Minor enhancements/fixes to rewrite directive and template virt req's
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -25,7 +25,7 @@ Please file issues to propose new features and report bugs, and after the bug or Requirements: - [Go 1.13 or newer](https://golang.org/dl/) -- Make sure you do not disable [Go modules](https://github.com/golang/go/wiki/Modules) (`export GO111MODULE=auto`) +- Do NOT disable [Go modules](https://github.com/golang/go/wiki/Modules) (`export GO111MODULE=auto`) Download the `v2` source code: @@ -120,10 +120,10 @@ Caddy 2 can be configured with a Caddyfile, much like in v1, for example: ```plain example.com -templates -encode gzip zstd try_files {path}.html {path} -reverse_proxy /api localhost:9005 +encode gzip zstd +reverse_proxy /api localhost:9005 +php_fastcgi /blog unix//path/to/socket file_server ``` @@ -199,6 +199,7 @@ The following is a non-comprehensive list of significant improvements over Caddy - TLS Session Ticket Ephemeral Keys (STEKs) can be rotated in a cluster for increased performance (no other web server does this either!) - Ability to select a specific certificate per ClientHello given multiple qualifying certificates - Provide TLS certificates without persisting them to disk; keep private keys entirely in memory + - Certificate management at startup is now asynchronous and much easier to use through machine reboots and in unsupervised settings - All-new HTTP server core - Listeners can be configured for any network type, address, and port range - Customizable TLS connection policies @@ -218,6 +219,8 @@ The following is a non-comprehensive list of significant improvements over Caddy - Done away with URL-rewriting hacks often needed in Caddy 1 - Highly descriptive/traceable errors - Very flexible error handling, with the ability to specify a whole list of routes just for error cases + - The proxy has numerous improvements, including dynamic backends and more configurable health checks + - FastCGI support integrated with the reverse proxy - More control over automatic HTTPS: disable entirely, disable only HTTP->HTTPS redirects, disable only cert management, and for certain names, etc. - Use Starlark to build custom, dynamic HTTP handlers at request-time - We are finding that -- on average -- Caddy 2's Starlark handlers are ~1.25-2x faster than NGINX+Lua. |