Page MenuHomeSolus

Update caddy to 2.4.5

Authored by EbonJaeger on Sep 18 2021, 7:47 PM.



Packager note: This now patches out the update command to avoid users accidentally breaking the package, as per the Solus policy on programs containing updaters.

Summarized Changelog:

  • v2.4.5:
    • A hotfix for a regression introduced in v2.4.4 related to combining the encode and reverse_proxy directives
  • v2.4.4:
    • Don't set host for directory links by default
    • Trim slashes from path prefix
    • Implement load_interval to pull config on a timer
    • Fix edgecase with auto HTTP->HTTPS logic
    • Fix incorrect determination of gRPC protocol
    • Remove "IssuerRaw" field
    • Fix paths when using an env file
    • Add disable_canonical_uris Caddyfile subdirective
    • Fix browse name_dir_first sorting
    • Add shortcut for proxy hostport placeholder
    • Don't put localhost in public APs
    • Improve unrecognized directive errors

Full changelog for v2.4.4 is here.

Test Plan

Do caddy run, verify startup by visiting localhost in a web browser, do caddy reload to load a new config to serve a website, visit the local address from another computer and see that the website is being served.

Diff Detail

R5152 caddy
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

EbonJaeger created this revision.Sep 18 2021, 7:47 PM
EbonJaeger requested review of this revision.Sep 18 2021, 7:47 PM
JoshStrobl accepted this revision.Sep 20 2021, 6:17 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Sep 20 2021, 6:17 PM
This revision was automatically updated to reflect the committed changes.