aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddyconfig
AgeCommit message (Collapse)Author
2024-04-23Quell linter (false positive)Matthew Holt
2024-04-22caddytls: Add Caddyfile support for on-demand permission module (close #6260)Matthew Holt
2024-04-17httpcaddyfile: Skip automate loader if disable_certs is specified (fix #6148)Matthew Holt
2024-04-17caddyfile: Populate regexp matcher names by default (#6145)Francis Lavoie
* caddyfile: Populate regexp matcher names by default * Some lint cleanup that my VSCode complained about * Pass down matcher name through expression matcher * Compat with #6113: fix adapt test, set both styles in replacer
2024-04-16caddyhttp: Support multiple logger names per host (#6088)Francis Lavoie
* caddyhttp: Support multiple logger names per host * Lint * Add adapt test * Implement "string or array" parsing, keep original `logger_names` * Rewrite adapter test to be more representative of the usecase
2024-04-13caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229)Matt Holt
* WIP: acmez v2, CertMagic, and ZeroSSL issuer upgrades * caddytls: ZeroSSLIssuer now uses ZeroSSL API instead of ACME * Fix go.mod * caddytls: Fix automation related to managers (fix #6060) * Fix typo (appease linter) * Fix HTTP validation with ZeroSSL API
2024-04-08caddyconfig: Use empty struct instead of bool in map (close #6224) (#6227)danish-mehmood
2024-04-04chore: Upgrade some dependencies (#6221)Francis Lavoie
2024-03-07httpcaddyfile: Keep deprecated `skip_log` in directive order (#6153)Steffen Busch
2024-03-06httpcaddyfile: Add `RegisterDirectiveOrder` function for plugin authors (#5865)Francis Lavoie
* httpcaddyfile: Add `RegisterDirectiveOrder` function for plugin authors * Set up Positional enum * Linter doesn't like a switch on an enum with default * Update caddyconfig/httpcaddyfile/directives.go Co-authored-by: Matt Holt <[email protected]> --------- Co-authored-by: Matt Holt <[email protected]>
2024-03-05logging: Implement `log_append` handler (#6066)Francis Lavoie
* logging: Implement `extra_log` handler * Rename to `log_append` * Rename `skip_log` to `log_skip` --------- Co-authored-by: Matt Holt <[email protected]>
2024-03-05httpcaddyfile: Allow nameless regexp placeholder shorthand (#6113)Francis Lavoie
Co-authored-by: Matt Holt <[email protected]>
2024-02-20caddyfile: Assert having a space after heredoc marker to simply check (#6117)bbaa
2024-02-19caddyfile: Reject directives in the place of site addresses (#6104)Aziz Rmadi
Co-authored-by: Francis Lavoie <[email protected]>
2024-02-12Revert "caddyfile: Reject long heredoc markers (#6098)" (#6100)Mohammed Al Sahaf
This reverts commit e7a534d0a311d9fa75b5981879c755281c4c9fba.
2024-02-12caddyauth: Rename `basicauth` to `basic_auth` (#6092)Francis Lavoie
2024-02-11caddyfile: Reject long heredoc markers (#6098)Francis Lavoie
Co-authored-by: Mohammed Al Sahaf <[email protected]>
2024-01-30caddytls: Make on-demand 'ask' permission modular (#6055)Matt Holt
* caddytls: Make on-demand 'ask' permission modular This makes the 'ask' endpoint a module, which means that developers can write custom plugins for granting permission for on-demand certificates. Kicking myself that we didn't do it this way at the beginning, but who coulda known... * Lint * Error on conflicting config * Fix bad merge --------- Co-authored-by: Francis Lavoie <[email protected]>
2024-01-25chore: enabling a few more linters (#5961)Yolan Romailler
Co-authored-by: Francis Lavoie <[email protected]>
2024-01-25caddyfile: Correctly close the heredoc when the closing marker appears ↵bbaa
immediately (#6062)
2024-01-25caddyfile: Switch to slices.Equal for better performance (#6061)bbaa
2024-01-25tls: modularize trusted CA providers (#5784)Mohammed Al Sahaf
* tls: modularize client authentication trusted CA * add `omitempty` to `CARaw` * docs * initial caddyfile support * revert anything related to leaf cert validation The certs are used differently than the CA pool flow * complete caddyfile unmarshalling implementation * Caddyfile syntax documentation * enhance caddyfile parsing and documentation Apply suggestions from code review Co-authored-by: Francis Lavoie <[email protected]> * add client_auth caddyfile tests * add caddyfile unmarshalling tests * fix and add missed adapt tests * fix rebase issue --------- Co-authored-by: Francis Lavoie <[email protected]>
2024-01-23caddyfile: Normalize & flatten all unmarshalers (#6037)Francis Lavoie
2024-01-22caddyfile: Add heredoc support to `fmt` command (#6056)bbaa
2024-01-18caddyfile: Allow heredoc blank lines (#6051)Aziz Rmadi
2024-01-16httpcaddyfile: Add optional status code argument to `handle_errors` ↵Aziz Rmadi
directive (#5965) Co-authored-by: Aziz Rmadi <[email protected]>
2024-01-15httpcaddyfile: Rewrite `root` and `rewrite` parsing to allow omitting ↵Francis Lavoie
matcher (#5844)
2024-01-13caddyhttp: Security enhancements for client IP parsing (#5805)Nebez Briefkani
Co-authored-by: Francis Lavoie <[email protected]>
2024-01-13filesystem: Globally declared filesystems, `fs` directive (#5833)a
2024-01-10httpcaddyfile: Fix redir <to> html (#6001)Subhaditya Nath
2024-01-09httpcaddyfile: Support client auth verifiers (#6022)Zach Galvin
* Added verifier case Update author * Update verifier to match struct tag * gci run
2024-01-09tls: add reuse_private_keys (#6025)Rithvik Vibhu
2023-12-20httpcaddyfile: Fix cert file decoding to load multiple PEM in one file (#5997)Francis Lavoie
2023-12-18httpcaddyfile: Sort skip_hosts for deterministic JSON (#5990)Francis Lavoie
* httpcaddyfile: Sort skip_hosts for deterministic JSON * Update caddyconfig/httpcaddyfile/httptype.go Co-authored-by: Mohammed Al Sahaf <[email protected]> * Fix test * Bah --------- Co-authored-by: Mohammed Al Sahaf <[email protected]>
2023-12-13caddyhttp: Add `uuid` to access logs when used (#5859)Francis Lavoie
2023-10-16httpcaddyfile: Remove port from logger names (#5881)Francis Lavoie
Co-authored-by: Matt Holt <[email protected]>
2023-10-14httpcaddyfile: Fix TLS automation policy merging with get_certificate (#5896)Francis Lavoie
2023-10-13caddyfile: Fix variadic placeholder false positive when token contains `:` ↵WeidiDeng
(#5883)
2023-10-11httpcaddyfile: Sort TLS SNI matcher for deterministic JSON output (#5860)Francis Lavoie
* httpcaddyfile: Sort TLS SNI matcher, for deterministic adapt output * Update caddyconfig/httpcaddyfile/httptype.go --------- Co-authored-by: Matt Holt <[email protected]>
2023-10-10httpcaddyfile: Enable TLS for catch-all site if `tls` directive is specified ↵Đỗ Trọng Hải
(#5808)
2023-09-08httpcaddyfile: fix placeholder shorthands in named routes (#5791)Đỗ Trọng Hải
Co-authored-by: Francis Lavoie <[email protected]>
2023-08-24caddyfile: Fix case where heredoc marker is empty after newline (#5769)Francis Lavoie
Fixes `panic: runtime error: slice bounds out of range [:3] with capacity 2` Co-authored-by: Matt Holt <[email protected]>
2023-08-20caddyfile: Adjust error formatting (#5765)Francis Lavoie
2023-08-19httpcaddyfile: Stricter errors for site and upstream address schemes (#5757)Karun Agarwal
Co-authored-by: Mohammed Al Sahaf <[email protected]> Co-authored-by: Francis Lavoie <[email protected]>
2023-08-19caddyfile: Loosen heredoc parsing (#5761)Francis Lavoie
2023-08-14ci: use gci linter (#5708)Jacob Gadikian
* use gofmput to format code * use gci to format imports * reconfigure gci * linter autofixes * rearrange imports a little * export GOOS=windows golangci-lint run ./... --fix
2023-08-07ci: Use gofumpt to format code (#5707)Jacob Gadikian
2023-08-04caddyfile: check that matched key is not a substring of the replacement key ↵WeidiDeng
(#5685)
2023-08-03httpcaddyfile: Fix `string does not match ~[]E` error (#5675)v2.7.1Herman Slatman
Only happens for some people. Unable to confirm.
2023-08-02caddyhttp: Make use of `http.ResponseController` (#5654)v2.7.0Francis Lavoie
* caddyhttp: Make use of http.ResponseController Also syncs the reverseproxy implementation with stdlib's which now uses ResponseController as well https://github.com/golang/go/commit/2449bbb5e614954ce9e99c8a481ea2ee73d72d61 * Enable full-duplex for HTTP/1.1 * Appease linter * Add warning for builds with Go 1.20, so it's less surprising to users * Improved godoc for EnableFullDuplex, copied text from stdlib * Only wrap in encode if not already wrapped