Commit graph

  • c4159ef76d
    Fix module-related errors Matthew Holt 2019-08-09 12:19:56 -06:00
  • ab885f07b8
    Implement config adapters and beginning of Caddyfile adapter Matthew Holt 2019-08-09 12:05:47 -06:00
  • 4950ce485f Part 1: Optimize using compiler's inliner (#2687) Dominik Braun 2019-08-08 07:59:02 +02:00
  • c8b0a97b1c Add missing imports (#2688) Dreamacro 2019-07-24 15:28:34 +08:00
  • 95a447de9c Tests for replacer (#2675) Johannes Hörmann 2019-07-21 17:57:34 +02:00
  • d98f2faef9 Add /stop endpoint to admin (#2671) Toby Allen 2019-07-20 17:48:46 +01:00
  • b855e66170 Force quit on Windows with taskkill /f (#2670) Toby Allen 2019-07-20 17:44:54 +01:00
  • 0d3f99e85a
    cmd: Add print-env flag to run command Matthew Holt 2019-07-18 10:58:31 -06:00
  • 28df6cedfe
    tls: Use IANA-standard cipher suite names Matthew Holt 2019-07-18 09:52:43 -06:00
  • dd6aa91d72
    Fix DNS provider module unmarshaling (closes #2676) Matthew Holt 2019-07-18 09:15:23 -06:00
  • b44a22a9d4
    Performance improvements to Replacer implementation (placeholders) (#2674) Matt Holt 2019-07-16 12:27:11 -06:00
  • bdf92ee84e
    Minor tweaks Matthew Holt 2019-07-15 17:33:47 -06:00
  • f217181293
    mod: Use blackfriday's standard v2 module import path Matthew Holt 2019-07-15 17:33:08 -06:00
  • ccb5d19c25
    Get module name at runtime, and tidy up modules Matthew Holt 2019-07-12 10:15:27 -06:00
  • b780f0f49b
    Standardize exit codes and improve shutdown handling; update gitignore Matthew Holt 2019-07-12 10:07:11 -06:00
  • 2141626269
    Fix readme example for updated handler structure Matthew Holt 2019-07-12 08:53:02 -06:00
  • 63674ba081
    Rename handler modules to use http.handlers namespace Matthew Holt 2019-07-11 22:03:12 -06:00
  • 9722dbe18a
    Fix rehandling bug Matthew Holt 2019-07-11 22:02:47 -06:00
  • 4698352b20
    Merge branch 'v2-handlers' into v2 Matthew Holt 2019-07-11 17:07:52 -06:00
  • eb8625f774
    Add error & subroute handlers; weakString; other minor handler changes Matthew Holt 2019-07-11 17:02:57 -06:00
  • 9343403358
    Flatten HTTP handler config (#2662) (#2663) Matt Holt 2019-07-11 15:32:34 -06:00
  • 4a3a418156
    Flatten HTTP handler config (#2662) Matthew Holt 2019-07-09 12:58:39 -06:00
  • 6dfba5fda8
    Add path components to HTTP replacer Matthew Holt 2019-07-08 16:46:55 -06:00
  • d25008d2c8
    Move listen address functions into caddy package; fix unix bug Matthew Holt 2019-07-08 16:46:38 -06:00
  • 4eb5fc541b
    Better error handling in CLI commands Matthew Holt 2019-07-07 16:39:21 -06:00
  • 42acdad9e5
    Fix error handling with Validate when loading modules (fixes #2658) Matthew Holt 2019-07-07 14:12:22 -06:00
  • 84f9f7cd60
    Little cleanups Matthew Holt 2019-07-05 13:59:30 -06:00
  • 79216d356c
    acmemanager: Use storage module key "module" instead of "system" Matthew Holt 2019-07-05 09:59:46 -06:00
  • 9429c843c8
    cmd: New reload command Matthew Holt 2019-07-05 09:59:13 -06:00
  • 6bcba91fbe
    Lowercase env var names in replacer Matthew Holt 2019-07-03 15:42:21 -06:00
  • ab101d75d0
    Update readme docs Matthew Holt 2019-07-03 14:50:59 -06:00
  • 7512ea1a64
    Change storage module key from "system" to "module" Matthew Holt 2019-07-03 10:40:25 -06:00
  • 902ec37062
    Minor improvements to readme Matthew Holt 2019-07-02 21:00:49 -06:00
  • bed05f2450
    Fix links in readme Matthew Holt 2019-07-02 16:18:35 -06:00
  • fdd871e177
    go.mod: Append /v2 to module name; update all import paths Matthew Holt 2019-07-02 12:37:06 -06:00
  • 94c28a2574
    Fix README typo, sigh... Matthew Holt 2019-07-02 12:29:38 -06:00
  • 42386a7272 Add menu and list of improvements to readme Matthew Holt 2019-07-02 12:13:09 -06:00
  • 5e858a15f7 Add a proper readme Matthew Holt 2019-07-01 18:08:56 -06:00
  • 533d1afb4b tls: Enable TLS 1.3 by default; set sane defaults on tls.Config structs Matthew Holt 2019-07-01 11:47:46 -06:00
  • 9f8d3611eb encode: Add "Vary" response header Matthew Holt 2019-06-30 23:38:36 -06:00
  • 3177ee8010 Add license Matthew Holt 2019-06-30 16:07:58 -06:00
  • 7a7c5f00c0 Add authors file Matthew Holt 2019-06-30 16:00:44 -06:00
  • fee0b38b48 Fix encoder name bug; remove unused field in encode middleware struct Matthew Holt 2019-06-29 16:57:55 -06:00
  • d5ae3a4966 httpserver: Set default Server header Matthew Holt 2019-06-28 19:28:47 -06:00
  • 31ab737bf2 Refactor code related to getting current version Matthew Holt 2019-06-28 19:28:28 -06:00
  • a4bdf249db Caddy 2 gets a CLI! And admin endpoint is now configurable via JSON Matthew Holt 2019-06-28 15:39:41 -06:00
  • 006dc1792f Use html/template for escaping by default Matthew Holt 2019-06-27 13:30:41 -06:00
  • a63cb3e3fd Implement etag; fix related bugs in encode and templates middlewares Matthew Holt 2019-06-27 13:09:10 -06:00
  • 2b22d2e6ea Optionally enforce strict TLS SNI + HTTP Host matching, & misc. cleanup Matthew Holt 2019-06-26 16:03:29 -06:00
  • a524bcfe78 Enable skipping just certificate management for some auto HTTPS names Matthew Holt 2019-06-26 10:57:18 -06:00
  • 91b03dccb0 Refactor automatic HTTPS configuration; ability to skip certain names Matthew Holt 2019-06-26 10:49:32 -06:00
  • 6000855c82 Fix panics by disallowing explicitly-defined null modules in config Matthew Holt 2019-06-26 10:45:34 -06:00
  • 38677aaa58 caddytls: Support tags for manually-loaded certificates Matthew Holt 2019-06-24 12:16:10 -06:00
  • d49f762f6d Various bug fixes and minor improvements Matthew Holt 2019-06-21 14:36:26 -06:00
  • 81a9e125b5 Oops Matthew Holt 2019-06-21 08:52:15 -06:00
  • 70c788ce0c Minor cleanups/improvements Matthew Holt 2019-06-21 08:08:26 -06:00
  • 1c443beb9c caddyhttp: ResponseRecorder type for middlewares to buffer responses Matthew Holt 2019-06-20 21:49:45 -06:00
  • 269b1e9aa3 tls: Improve (and fix) on-demand configuration Matthew Holt 2019-06-20 20:36:29 -06:00
  • 6d0350d04e caddyhttp: Fix host matching when host has a port Matthew Holt 2019-06-20 20:24:46 -06:00
  • 15647bdfb7 templates: Remove context functions implemented by sprig Matthew Holt 2019-06-18 15:43:51 -06:00
  • 2663dd176d Refactor templates execution; add sprig functions Matthew Holt 2019-06-18 15:17:48 -06:00
  • 6706c9225a Implement templates handler; various minor cleanups and bug fixes Matthew Holt 2019-06-18 11:13:12 -06:00
  • 5137859e47 Rename caddy2 -> caddy Matthew Holt 2019-06-14 11:58:28 -06:00
  • b8e7453fef Implement brotli encoder; improve validation of other encoders Matthew Holt 2019-06-13 11:20:43 -06:00
  • f93dab755b Update go modules Matthew Holt 2019-06-13 10:55:25 -06:00
  • 0c8763a728 Add simple tests for static responder Matthew Holt 2019-06-11 17:46:11 -06:00
  • f5b4f268dc
    Implement encode middleware (#2) Matt Holt 2019-06-10 10:21:25 -06:00
  • ef5f29cfb2 Do not allow Go standard lib to sniff Content-Type header Matthew Holt 2019-06-07 19:59:17 -06:00
  • 8947ae0cc1
    Merge pull request #1 from caddyserver/fix/goroutine-leak-healthchecker Matt Holt 2019-06-07 17:24:10 -06:00
  • 878ae0002a fix goroutine leak in healthcheckers dev 2019-06-07 14:04:53 -04:00
  • 37da91cfe7 fix module import paths and add cors to admin endpoints dev 2019-06-05 13:10:19 -04:00
  • b79f86f256 Fix bugs related to auto HTTPS and alternate port configurations Matthew Holt 2019-06-04 22:43:21 -06:00
  • 613aecb898 Change import paths to GitHub package names Matthew Holt 2019-06-04 13:52:37 -06:00
  • 39db06d9c4 Implement IP/CIDR matcher and Not (negated) matcher Matthew Holt 2019-06-04 13:42:54 -06:00
  • f064889a4f Customize admin endpoint address with -listen flag Matthew Holt 2019-06-03 15:35:14 -06:00
  • 3439933235 Implement session ticket keys; default STEK module with rotation Matthew Holt 2019-05-29 23:11:46 -06:00
  • 1b6b422c63 Add cleanup callbacks to context Matthew Holt 2019-05-29 23:10:12 -06:00
  • 2265db9028 Fix bug unmarshaling custom duration values Matthew Holt 2019-05-29 23:09:51 -06:00
  • bf54615efc ResponseMatcher for conditional logic of response headers Matthew Holt 2019-05-28 18:53:08 -06:00
  • da6a8cfc86 Minor cleanups Matthew Holt 2019-05-28 18:52:21 -06:00
  • 9cd6f35e9d Separate out certificate selection Matthew Holt 2019-05-27 11:31:47 -06:00
  • 210d0cf7f1 Implement custom cert selection policies; optimize matching for SNI Matthew Holt 2019-05-24 13:18:45 -06:00
  • 5a4a1421de Fix error handling and matching catch-all routes Matthew Holt 2019-05-23 14:42:14 -06:00
  • 34a25dd558 Add very simple markdown middleware for now Matthew Holt 2019-05-23 14:41:43 -06:00
  • 9e576c76e7 Add request_body middleware and some limits to HTTP servers Matthew Holt 2019-05-23 13:16:34 -06:00
  • c24a3e389f Change admin listener to :1234 for now; output message when listening Matthew Holt 2019-05-22 19:10:29 -06:00
  • f976451d19 Disallow unknown fields (strict unmarshal) when loading modules Matthew Holt 2019-05-22 14:32:12 -06:00
  • 869fbac632 Don't use auto HTTPS for servers with only HTTP port listeners Matthew Holt 2019-05-22 14:14:26 -06:00
  • 284fb3a98c Allow multiple matcher sets in routes (OR'ed together) Matthew Holt 2019-05-22 13:13:39 -06:00
  • bc00d840e8 Export types and fields necessary to build configs (for config adapters) Matthew Holt 2019-05-22 12:32:36 -06:00
  • be9b6e7b57 Honor the configured CA value Matthew Holt 2019-05-21 14:22:33 -06:00
  • 2fd98cb040 Module.New() does not need to return an error Matthew Holt 2019-05-21 14:22:21 -06:00
  • 67d32e6779 Fix up matchers tests and take care of TODO in rewrite Matthew Holt 2019-05-21 13:10:14 -06:00
  • 9d54f655aa Take care of remaining TODOs in the browse responder Matthew Holt 2019-05-21 13:03:52 -06:00
  • 65195a726d Implement rewrite middleware; fix middleware stack bugs Matthew Holt 2019-05-20 23:48:43 -06:00
  • b84cb05848 Fix deferred header ops Matthew Holt 2019-05-20 22:00:54 -06:00
  • a969872850 Default error handler; rename StaticFiles -> FileServer Matthew Holt 2019-05-20 21:21:33 -06:00
  • aaacab1bc3 Sanitize paths in static file server; some cleanup Matthew Holt 2019-05-20 17:15:38 -06:00
  • d22f64e6d4 Implement headers middleware Matthew Holt 2019-05-20 15:46:47 -06:00
  • 22995e5655 Implement most of browse; fix a couple obvious bugs; some cleanup Matthew Holt 2019-05-20 15:46:34 -06:00