aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddyconfig/caddyfile/testdata
AgeCommit message (Collapse)Author
2024-02-12Revert "caddyfile: Reject long heredoc markers (#6098)" (#6100)Mohammed Al Sahaf
This reverts commit e7a534d0a311d9fa75b5981879c755281c4c9fba.
2024-02-11caddyfile: Reject long heredoc markers (#6098)Francis Lavoie
Co-authored-by: Mohammed Al Sahaf <[email protected]>
2023-02-26caddyfile: Implement heredoc support (#5385)Francis Lavoie
2023-01-21httpcaddyfile: Warn on importing empty file; skip dotfiles (#5320)Y.Horie
* httpcaddyfile: Change the parse rules when empty file or dotfile with a glob. * Fixes #5295 * Empty file should just log a warning, and result in no tokens. * The last segment of the path is '*', it should skip any dotfiles. * The last segment of the path is '.*', it should read all dotfiles in a dir. * httpcaddyfile: Regard empty files as import files which include only white space.
2022-04-21Make file modes consistentMatthew Holt
No need to have executable bit on .go or .txt files
2021-04-09caddyfile: reject cyclic imports (#4022)Mohammed Al Sahaf
* caddyfile: reject recursive self-imports * caddyfile: detect and reject cyclic imports of snippets and files * caddyfile: do not be stickler about connected nodes not being connected already * caddyfile: include missing test artifacts of cyclic imports * address review comments
2020-06-01caddyfile: Add args on imports (#3423)Francis Lavoie
* caddyfile: Add support for args on imports * caddyfile: Add more import args tests
2019-08-09Implement config adapters and beginning of Caddyfile adapterMatthew Holt
Along with several other changes, such as renaming caddyhttp.ServerRoute to caddyhttp.Route, exporting some types that were not exported before, and tweaking the caddytls TLS values to be more consistent. Notably, we also now disable automatic cert management for names which already have a cert (manually) loaded into the cache. These names no longer need to be specified in the "skip_certificates" field of the automatic HTTPS config, because they will be skipped automatically.