Commit graph

  • b07f6958ac
    Use "IsUnixNetwork" function instead of repeating the logic Matthew Holt 2019-12-06 12:00:04 -07:00
  • 33a318d173
    Don't append port to unix sockets Matthew Holt 2019-12-06 11:45:50 -07:00
  • 68adfdc559 Fix misspellings (#2908) lu4p 2019-12-05 00:28:13 +01:00
  • a841688cc0 update quic-go to v0.14.0 (#2916) Marten Seemann 2019-12-04 10:49:01 +07:00
  • 52ae5f70d2 Merge branch 'v2' of ssh://github.com/caddyserver/caddy into v2 Matthew Holt 2019-11-30 17:53:38 -07:00
  • 44f23a67bb
    http: Don't listen 1 port beyond port range Matthew Holt 2019-11-30 17:53:25 -07:00
  • 8b7d6a9ee8 v2: fixes query matcher parsing (#2901) Mark Sargent 2019-11-30 09:05:22 +13:00
  • 7c7ef8d40e
    http: Shorten regexp matcher placeholders; allow "=/" for simple matcher Matthew Holt 2019-11-29 11:23:49 -07:00
  • 14d3fd7d03
    http: path matcher supports exact matching with = prefix Matthew Holt 2019-11-28 21:11:45 -07:00
  • 512b004332
    http: header matcher supports fast prefix and suffix matching (#2888) Matthew Holt 2019-11-27 11:52:31 -07:00
  • db4293cb5f
    reverse_proxy: Add flush_interval to caddyfile syntax (#1460) Matthew Holt 2019-11-27 11:51:32 -07:00
  • 6e10586303
    admin: Preserve "@id" fields through partial changes (fixes #2902) Matthew Holt 2019-11-27 11:49:49 -07:00
  • 8de1a76227
    reverse_proxy: Fix invalid argument to Intn in RandomChoice selection Matthew Holt 2019-11-18 14:22:55 -07:00
  • 9fe54e1c60
    file_server: Use HTTPS port when a qualifying domain is specified Matthew Holt 2019-11-16 10:44:45 -07:00
  • b43e986a52
    file_server: Optional pass_thru mode Matthew Holt 2019-11-15 17:32:13 -07:00
  • 1228dd7d93
    reverse_proxy: Allow buffering of client requests Matthew Holt 2019-11-15 17:15:33 -07:00
  • af26a03da1
    http: Only enable access logs if configured Matthew Holt 2019-11-15 17:01:07 -07:00
  • 8025ad9107
    cmd: Disable admin endpoint for file-server and reverse-proxy commands Matthew Holt 2019-11-15 15:52:19 -07:00
  • 6cdb2392d7
    cmd: Improve stop command by trying API before signaling process Matthew Holt 2019-11-15 15:45:18 -07:00
  • 0ca109db4a
    Minor cleanups Matthew Holt 2019-11-15 12:47:38 -07:00
  • 0fc97211ab
    http: Make path matcher case-insensitive Matthew Holt 2019-11-15 12:47:06 -07:00
  • ad90b273db
    core: Add tests to Replacer; fix panic (fixes #2852) Matthew Holt 2019-11-11 19:29:31 -07:00
  • 93bc1b72e3 core: Use port ranges to avoid OOM with bad inputs (#2859) Mohammed Al Sahaf 2019-11-12 01:33:38 +03:00
  • a19da07b72
    http: Add response headers to access logs Matthew Holt 2019-11-11 14:02:01 -07:00
  • 16782d9988
    http: Use permanent redirects for HTTP->HTTPS Matthew Holt 2019-11-11 14:01:42 -07:00
  • dfdddcfacb logging: Support placeholders in level and filename (#2872) Sarat Chandra 2019-11-11 23:34:41 +05:30
  • 7ff02f37b6 go.mod: update quic-go to v0.13.1 (#2871) Marten Seemann 2019-11-09 22:10:43 +07:00
  • e4a2add73f
    cmd: Print errors to stderr Matthew Holt 2019-11-08 09:59:49 -07:00
  • 95615f5377
    reverse_proxy: Fix NTLM auth detection Matthew Holt 2019-11-06 00:16:16 -07:00
  • 8e515289cb
    reverse_proxy: Add support for NTLM Matthew Holt 2019-11-05 16:29:10 -07:00
  • 6e95477224
    http: Eliminate allocation in cloneURL; add RemoteAddr to origRequest Matthew Holt 2019-11-05 16:28:33 -07:00
  • 97d918df3e
    reverse_proxy: Make HTTP versions configurable, don't set NextProtos Matthew Holt 2019-11-05 16:27:51 -07:00
  • f5c6a8553c
    Prepare for beta 9 tag Matthew Holt 2019-11-04 13:43:39 -07:00
  • 263ffbfaec
    caddyfile: Fix bug with Delete Matthew Holt 2019-11-04 13:25:37 -07:00
  • bf363f061d
    reverse_proxy: Add UnmarshalCaddyfile for random_choose selection policy Matthew Holt 2019-11-04 12:54:46 -07:00
  • 7129f6c1c0
    admin: Remove /unload endpoint (is same as DELETE /config/) Matthew Holt 2019-11-04 12:53:14 -07:00
  • cb25dd72ab
    reverse_proxy: Add port to upstream address if only implied in scheme Matthew Holt 2019-11-04 12:18:42 -07:00
  • d55fa68902
    http: Only log handler errors >= 500 Matthew Holt 2019-11-04 12:18:01 -07:00
  • b1f41d0ff1
    logging: Default logger should use wall time with milliseconds Matthew Holt 2019-11-04 12:14:22 -07:00
  • 6011ce120a
    cmd: Move module imports into standard packages Matthew Holt 2019-11-04 12:13:21 -07:00
  • 27e288ab19
    core: Synchronize calls to SetDeadline within fakeCloseListener Matthew Holt 2019-11-04 12:10:03 -07:00
  • 35f70c98fa
    core: Major refactor of admin endpoint and config handling Matthew Holt 2019-11-04 12:05:20 -07:00
  • fb06c041c4
    http: Ensure server loggers are not nil (fixes #2849) Matthew Holt 2019-10-31 11:45:18 -06:00
  • 8ef0a0b4f8
    reverse_proxy: Fix panic for some CLI flag values (closes #2848) Matthew Holt 2019-10-31 11:34:54 -06:00
  • 8d3c64932e
    http: Avoid panic if handler errors lack underlying error value Matthew Holt 2019-10-30 21:41:52 -06:00
  • 0dd9243478
    Re-remove admin fuzz target from azure-pipelines.yml (#2846) Mohammed Al Sahaf 2019-10-31 01:49:18 +03:00
  • 432b94239d admin listener as opt-in for initial config (#2834) Andreas Schneider 2019-10-30 22:12:42 +01:00
  • 4611537f06
    Add missing fuzzer (#2844) Mohammed Al Sahaf 2019-10-30 23:57:22 +03:00
  • 76c22c7b38
    auth: Clean up basicauth Matthew Holt 2019-10-30 13:56:27 -06:00
  • c7da6175bc
    fuzz: Remove admin fuzzer Matthew Holt 2019-10-30 12:19:59 -06:00
  • 11a2733dc2
    ci: Change fuzz type from regression to local-regression Matthew Holt 2019-10-30 11:50:19 -06:00
  • 1be121cec7
    fuzz: Don't call Load() in HTTP caddyfile adapter fuzz tests Matthew Holt 2019-10-30 11:48:21 -06:00
  • dccba71276 reverse_proxy: Structured logs Matthew Holt 2019-10-29 16:02:40 -06:00
  • be36aade9a ci: Update fuzzer target name (#2841) Mohammed Al Sahaf 2019-10-29 22:20:34 +03:00
  • ba0000678d
    Remove unused fields from HandlerError Matthew Holt 2019-10-29 11:59:08 -06:00
  • c4c45f8e01
    logging: Tweak defaults (enable logging by default, color level enc.) Matthew Holt 2019-10-29 11:58:29 -06:00
  • 54e458b756
    proxy: Forgot to commit import Matthew Holt 2019-10-29 10:22:49 -06:00
  • d803561212
    caddyhttp: Fix nil pointer dereference Matthew Holt 2019-10-29 00:08:06 -06:00
  • 813fff0584
    proxy: Enable HTTP/2 on transport to backend Matthew Holt 2019-10-29 00:07:45 -06:00
  • d2e7baed8d
    Plug in distributed STEK module Matthew Holt 2019-10-29 00:06:04 -06:00
  • d6dad04e96
    cache: Make peer addresses configurable Matthew Holt 2019-10-28 15:09:12 -06:00
  • 442fd748f6
    caddyhttp: Minor cleanup and fix nil pointer deref in caddyfile adapter Matthew Holt 2019-10-28 15:08:45 -06:00
  • b00dfd3965
    v2: Logging! (#2831) Matt Holt 2019-10-28 14:39:37 -06:00
  • 6c533558a3
    fuzz-ci: fix & enhance fuzzing process (#2835) Mohammed Al Sahaf 2019-10-28 20:45:55 +03:00
  • 2fbe2ff40b fuzz: introduce continuous fuzzing for Caddy (#2723) Mohammed Al Sahaf 2019-10-26 03:52:16 +03:00
  • faf67b1067
    tls: Make the on-demand rate limiter actually work Matthew Holt 2019-10-21 12:03:51 -06:00
  • 208f2ff93c
    rewrite: Options to strip prefix/suffix and issue redirects Matthew Holt 2019-10-19 19:22:29 -06:00
  • 19e834cf36 v2 ci: speed up some of powershell's processes (#2818) Mohammed Al Sahaf 2019-10-17 23:58:22 +03:00
  • bce2edd22d
    tls: Asynchronous cert management at startup (uses CertMagic v0.8.0) Matthew Holt 2019-10-16 15:20:27 -06:00
  • a458544d9f
    Minor enhancements/fixes to rewrite directive and template virt req's Matthew Holt 2019-10-16 15:18:02 -06:00
  • 2f91b44587
    v2: Make tests work on Windows (#2782) Matt Holt 2019-10-15 16:05:53 -06:00
  • e3726588b4 v2: Project-and-CI-wide linter config (#2812) Mohammed Al Sahaf 2019-10-16 00:37:46 +03:00
  • abf5ab340e
    caddyhttp: Improve ResponseRecorder to buffer headers Matthew Holt 2019-10-15 14:07:10 -06:00
  • acf7dea68f
    caddyhttp: host labels placeholders endianness from right->left Matthew Holt 2019-10-14 12:09:43 -06:00
  • bc738991b6 caddyhttp: Support placeholders in MatchHost (#2810) Pascal 2019-10-14 19:29:36 +02:00
  • fcd8869f51 reverse_proxy: optimize MaxIdleConnsPerHost default (#2809) yzongyue 2019-10-12 13:57:11 +08:00
  • 1e31be8de0
    reverse_proxy: Allow dynamic backends (closes #990 and #1539) Matthew Holt 2019-10-11 14:25:39 -06:00
  • 4aa3af4b78
    go.mod: Use latest certmagic which uses lego v3.1.0 Matthew Holt 2019-10-11 10:48:06 -06:00
  • 8715a28320
    reverse_proxy: Customize SNI value in upstream request (closes #2483) Matthew Holt 2019-10-10 17:17:06 -06:00
  • 715e6ddf51
    go.mod: Update dependencies Matthew Holt 2019-10-10 15:47:26 -06:00
  • 9c0bf311f9
    Miscellaneous cleanups / comments Matthew Holt 2019-10-10 15:38:30 -06:00
  • 5300949e0d
    caddyhttp: Make responseRecorder capable of counting body size Matthew Holt 2019-10-10 15:36:28 -06:00
  • 411152016e
    Remove unused/placeholder log handler Matthew Holt 2019-10-10 15:35:33 -06:00
  • 5c7640a8d9
    cmd: Plug in the http.handlers.authentication module Matthew Holt 2019-10-10 15:05:33 -06:00
  • f8366c2f09
    http: authentication module; hash-password cmd; http_basic provider Matthew Holt 2019-10-10 14:37:27 -06:00
  • fe36d26b63 caddyhttp: Add RemoteAddr placeholders (#2801) Pascal 2019-10-10 21:37:08 +02:00
  • b38365ff3b
    Merge pull request #2799 from caddyserver/v2-enterprise-merge Matt Holt 2019-10-10 11:27:45 -06:00
  • 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
  • 53dd600b4d cmd: Built-in commands all use RegisterCommand (#2794) yzongyue 2019-10-09 10:12:15 +08:00
  • ce1205239a
    cmd/main: Plug in json5 and jsonc config adapters 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