Commit Graph

  • 26cc883708 http: Add Starlark handler Matthew Holt 2019-10-10 11:02:16 -06:00
  • 93943a6ac2 readme: Remove mentions of Caddy Enterprise (as per #2786) Matthew Holt 2019-10-09 20:19:00 -06:00
  • 85ce15a5ad tls: Add custom certificate selection policy Matthew Holt 2019-10-09 19:41:45 -06:00
  • dedcfd4e3d tls: Add distributed_stek module Matthew Holt 2019-10-09 19:38:26 -06:00
  • 20fe9cf024 tls: Add pem_loader module Matthew Holt 2019-10-09 19:34:14 -06:00
  • bcbe1c220d reverse_proxy: Add local circuit breaker Matthew Holt 2019-10-09 19:28:07 -06:00
  • a53b27c62e http: Add work-in-progress cache handler module Matthew Holt 2019-10-09 19:22:46 -06:00
  • 03306e646e admin: /config and /id endpoints Matthew Holt 2019-10-09 19:10:00 -06:00
  • 24b2e02ee5 init/systemd: Re-add ReadWriteDirectories. (#2798) Jacob Hoffman-Andrews 2019-10-09 18:04:28 -07:00
  • 53dd600b4d cmd: Built-in commands all use RegisterCommand (#2794) yzongyue 2019-10-09 10:12:15 +08:00
  • be2fdb6af6 httpserver: no SetKeepAlivePeriod in openbsd (#2787) Adil H 2019-10-08 16:49:40 +01:00
  • 16b296c97e systemd: Prevent excessive restarts in tight loop Matt Holt 2019-10-07 11:28:21 -06:00
  • 11eee95222 staticfiles: Signal that redirection headers have been written (#2792) Jannis Andrija Schnitzer 2019-10-07 18:22:53 +02:00
  • ce1205239a cmd/main: Plug in json5 and jsonc config adapters v2.0.0-beta4 Matthew Holt 2019-10-06 20:48:31 -06:00
  • bc3e44c1a6 cmd: adapt: Default --adapter value is "caddyfile" Matthew Holt 2019-10-06 20:48:09 -06:00
  • 8c55167f71 rewrite: Return parse error if too many Caddyfile args (fixes #2791) Matthew Holt 2019-10-06 20:46:10 -06:00
  • be7abda7d4 reverse_proxy: Implement retry_match; by default only retry GET requests Matthew Holt 2019-10-05 16:22:05 -06:00
  • 6fd28b81dc caddyhttp: Define MatcherSets and RawMatcherSets types Matthew Holt 2019-10-05 16:20:07 -06:00
  • 65c060f56e file_server: Set default address to :2015 if --listen not specified Matthew Holt 2019-10-04 17:30:51 -06:00
  • 44cb804b9e reverse_proxy: Configurable request headers on active health checks Matthew Holt 2019-10-04 17:21:38 -06:00
  • c11e3bffd6 Add file-server and reverse-proxy subcommands Matthew Holt 2019-10-03 16:00:41 -06:00
  • f29a9eee0d caddytls: nil check on storageClean fields on Stop Matthew Holt 2019-10-02 23:39:32 -06:00
  • 370b78c5c7 Update CLI docs in README Matthew Holt 2019-10-01 20:45:31 -06:00
  • 1ecb216001 v2: introduce CI (#2768) Mohammed Al Sahaf 2019-10-02 01:47:29 +03:00
  • 94f98c0733 go.mod: Use latest certmagic v2.0.0-beta3 Matthew Holt 2019-10-01 11:25:52 -06:00
  • 2c3657bb8a cmd: CLI improvements; add --validate to adapt command Matthew Holt 2019-10-01 11:02:13 -06:00
  • 5b36424cf0 cmd: Add validate subcommand; list-modules --versions; some renaming Matthew Holt 2019-09-30 23:43:39 -06:00
  • 0006df6026 cmd: Refactor subcommands, add help, make them pluggable aca 2019-10-01 12:23:58 +09:00
  • c95db3551d caddytls: Ensure automation field is not nil when appending (fix #2779) Matthew Holt 2019-09-30 11:53:21 -06:00
  • 8eb2c37251 Clean up provisioned modules on error; refactor Run(); add Validate() Matthew Holt 2019-09-30 09:16:01 -06:00
  • 1e66226217 httpcaddyfile: Add acme_ca and email global options Matthew Holt 2019-09-30 09:11:30 -06:00
  • 7b4aa108c7 caddyhttp: 'not' matcher: Support Caddyfile unmarshaling Matthew Holt 2019-09-30 09:09:57 -06:00
  • 8b11ed347b Add license header to filestorage.go Matthew Holt 2019-09-30 09:08:04 -06:00
  • b249b45d10 tls: Change struct fields to pointers, add nil checks; rate.Burst update Matthew Holt 2019-09-30 09:07:43 -06:00
  • c12bf4054c caddyfile: Fix lexer behavior with regards to escaped newlines Matthew Holt 2019-09-28 21:18:36 -06:00
  • 735d6ce405 httpcaddyfile: Fix missing module name of storage adapter Matthew Holt 2019-09-26 17:06:15 -07:00
  • 7b33c8db31 tls: Make cert and OCSP check intervals configurable Matthew Holt 2019-09-24 17:04:03 -07:00
  • 11696793bd tls/acme: Ability to customize trusted roots for ACME servers (#2756) Matt Holt 2019-09-24 15:46:39 -07:00
  • 1de4a99ec3 Fix typo (#2763) Tobias Mühl 2019-09-24 06:01:44 +02:00
  • 96579b97f6 gitattributes: go.mod, go.sum always eol=lf (#2753) linquize 2019-09-23 04:17:16 +08:00
  • 3e8bff594a go.mod: Update certmagic to v0.7.3 v2.0.0-beta2 Matthew Holt 2019-09-20 13:17:17 -06:00
  • 2f684e42d5 reverse_proxy/headers: Expose header replacement ability in Caddyfile Matthew Holt 2019-09-20 13:13:49 -06:00
  • ba29f9d41d httpcaddyfile: Global storage configuration (closes #2758) Matthew Holt 2019-09-19 12:42:36 -06:00
  • 40e05e5a01 http: Improve auto HTTP->HTTPS redirects, fix edge cases Matthew Holt 2019-09-18 18:01:32 -06:00
  • 39d61cad2d httpcaddyfile: Fix nil pointer dereference Matthew Holt 2019-09-18 10:51:49 -06:00
  • bc9f944837 host matcher: Strip [ ] from IPv6 addresses Matthew Holt 2019-09-18 09:45:21 -06:00
  • 4c289fc6ad Allow domain fronting with TLS client auth if explicitly configured Matthew Holt 2019-09-17 23:13:21 -06:00
  • 19f36667f7 tls: Clean up expired OCSP staples and certificates Matthew Holt 2019-09-17 16:00:15 -06:00
  • 484cee1ac1 fastcgi: Implement / redirect for index.php with php_fastcgi directive (#2754) Matt Holt 2019-09-17 15:16:17 -06:00
  • d030bfdae0 httpcaddyfile: static_response -> respond; minor cleanups Matthew Holt 2019-09-16 11:04:18 -06:00
  • 8cc2f770fa Change mholt references to caddyserver (#2751) Ashish Acharya 2019-09-15 23:11:20 +05:30
  • db4c73dd58 reverse_proxy: Close idle connections on module unload Matthew Holt 2019-09-14 18:10:29 -06:00
  • f15f0d5839 Eliminate some TODOs Matthew Holt 2019-09-14 18:05:45 -06:00
  • e73b117332 reverse_proxy: Ability to mutate headers; set upstream placeholders Matthew Holt 2019-09-14 13:25:26 -06:00
  • 2fd22139c6 headers: Ability to mutate request headers including http.Request.Host Matthew Holt 2019-09-14 13:22:48 -06:00
  • 5c9ebe3af1 Use keybase fork of mitchellh/go-ps for bug fixes (#2750) Mohammed Al Sahaf 2019-09-14 08:40:29 +03:00
  • 2ab2d5bf9e Forgot to commit caddyfile.go changes in last commit Matthew Holt 2019-09-13 23:38:52 -06:00
  • c09e86fddc headers: Add ability to replace substrings in header fields Matthew Holt 2019-09-13 16:24:51 -06:00
  • 46aaf02371 encode: Fix bug where default status code was being written for small responses. Matthew Holt 2019-09-13 16:00:03 -06:00
  • 3b80c505fb Update v2 readme in prep for beta1 v2.0.0-beta1 Matthew Holt 2019-09-13 12:50:06 -06:00
  • 1d1e194229 Hard-code 'main' module name until bug upstream in Go modules is fixed Matthew Holt 2019-09-13 12:43:28 -06:00
  • 839507e24e http: Consider wildcards when evaluating automatic HTTPS Matthew Holt 2019-09-13 11:46:58 -06:00
  • 833d67446f admin: Allow listening on unix socket (closes #2749) Matthew Holt 2019-09-13 11:24:07 -06:00
  • d0c1756fc5 httpcaddyfile: Fix tls certificate loader module names (#2748) Matthew Holt 2019-09-13 09:45:10 -06:00
  • ed40a5dcab tls: Do away with SetDefaults which did nothing useful Matthew Holt 2019-09-12 17:31:54 -06:00
  • 7799554baa go.mod: Use lego v3 and CertMagic 0.7.0 Matthew Holt 2019-09-12 17:31:10 -06:00
  • 2cb01d43cf tls: Remove support for TLS 1.0 and TLS 1.1 Matthew Holt 2019-09-11 22:26:06 -06:00
  • 758269124e reverseproxy: Fix host and port on requests; fix Caddyfile parser Matthew Holt 2019-09-11 18:53:44 -06:00
  • b4dce74e59 tls: Use Let's Encrypt production endpoint Matthew Holt 2019-09-11 18:52:07 -06:00
  • fe389fcbd7 http: Set Alt-Svc header if experimental HTTP3 server is enabled Matthew Holt 2019-09-11 18:49:21 -06:00
  • 005a11cf4b headers: New 'request_header' directive; handle Host header specially Matthew Holt 2019-09-11 18:48:37 -06:00
  • 194df652eb reverseproxy: Add 'tls' option to enable HTTPS with HTTP transport Matthew Holt 2019-09-11 18:46:32 -06:00
  • 53bbdf1766 httpcaddyfile: Add 'experimental_http3' option Matthew Holt 2019-09-11 17:16:21 -06:00
  • e48d83452e httpcaddyfile: Switch order; reverse_proxy comes before php_fastcgi Matthew Holt 2019-09-11 12:02:35 -06:00
  • 2459c292a4 caddyfile: Improve Dispenser.NextBlock() to support nesting Matthew Holt 2019-09-10 19:21:52 -06:00
  • 0cf592fa2e New 'php_fastcgi' directive for convenient PHP+FastCGI reverse proxy Matthew Holt 2019-09-10 14:16:41 -06:00
  • d9136fb0a0 rewrite: Caddyfile directive should always invoke a rehandle Matthew Holt 2019-09-10 14:13:52 -06:00
  • c32b7e8865 fastcgi: Make EnvVars a map instead of a slice Matthew Holt 2019-09-10 14:12:51 -06:00
  • 1ce10b453f Require Go 1.13; use Go 1.13's default support for TLS 1.3 Matthew Holt 2019-09-10 13:11:27 -06:00
  • 0c8ad52be1 Experimental IETF-standard HTTP/3 support (known issue exists) (#2727) Matt Holt 2019-09-10 08:03:37 -06:00
  • d67d8cf5a8 Fix build (sigh) Matthew Holt 2019-09-10 07:15:36 -06:00
  • 44b7ce9850 Merge pull request #2737 from caddyserver/fastcgi (reverse proxy!) Matt Holt 2019-09-09 21:46:21 -06:00
  • b4f4fcd437 Migrate some selection policy tests over to v2 Matthew Holt 2019-09-09 21:44:58 -06:00
  • 50e62d06bc reverse_proxy: Caddyfile integration (and fix blocks in Dispenser) Matthew Holt 2019-09-09 12:23:27 -06:00
  • 9169cd43d4 Log when auto HTTPS or auto HTTP->HTTPS redirects are disabled Matthew Holt 2019-09-09 08:25:48 -06:00
  • e12c62e60b file_server: Enforce URL canonicalization (closes #2741) Matthew Holt 2019-09-09 08:21:45 -06:00
  • 3e9e7555ef Fix build (#2740) Ingo Gottwald 2019-09-07 22:25:04 +02:00
  • f6126acf37 Header matchers: allow matching presence of header with empty list Matthew Holt 2019-09-06 14:25:16 -06:00
  • 97ace2a39e File matcher enforces trailing-slash convention to match dirs/files Matthew Holt 2019-09-06 13:32:02 -06:00
  • 4bd9496525 Fix Schrodinger's file existence check in file matcher Matthew Holt 2019-09-06 12:57:12 -06:00
  • 14f9662f9c Various fixes/tweaks to HTTP placeholder variables and file matching Matthew Holt 2019-09-06 12:36:45 -06:00
  • 21d7b662e7 fastcgi: Use request context as base, not a new one Matthew Holt 2019-09-06 12:02:11 -06:00
  • 3ba9e143a2 cli: Fix run and start when no config file is available Matthew Holt 2019-09-05 14:58:07 -06:00
  • d2e46c2be0 fastcgi: Set default root path; add interface guards Matthew Holt 2019-09-05 13:42:20 -06:00
  • 80b54f3b9d Add original URI to request context; implement into fastcgi env Matthew Holt 2019-09-05 13:36:42 -06:00
  • 0830fbad03 Reconcile upstream dial addresses and request host/URL information Matthew Holt 2019-09-05 13:14:39 -06:00
  • a60d54dbfd reverse_proxy: Ignore context.Canceled errors Matthew Holt 2019-09-03 19:10:09 -06:00
  • acb8f0e0c2 Integrate circuit breaker modules with reverse proxy Matthew Holt 2019-09-03 19:06:54 -06:00
  • 652460e03e Some cleanup and godoc Matthew Holt 2019-09-03 16:56:09 -06:00
  • 4a1e1649bc reverse_proxy: Implement remaining TLS config for proxy to backend Matthew Holt 2019-09-03 15:26:09 -06:00