notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
caddy Fast, cross-platform HTTP/2 web server with automatic HTTPS
2.10.2_6 www on this many watch lists=14 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.10.2_5Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-10-12 08:19:24
Last Update: 2026-01-16 17:49:03
Commit Hash: 013f2d3
People watching this port, also watch:: nginx, unbound, gitea, rust, openssl
License: APACHE20
WWW:
https://caddyserver.com
Description:
Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go. Features: - Easy configuration with the Caddyfile - Powerful configuration with JSON config - Dynamic configuration with a JSON API - Config adapters if you don't like JSON - Automatic HTTPS by default - ACME (Let's Encrypt) for public sites - Fully-managed local CA for internal names and IPs - Can coordinate with other Caddy instances in a cluster - HTTP/1.1, HTTP/2, and HTTP/3 support - Actually fun to use
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/caddy
  2. @sample etc/caddy/Caddyfile.sample
  3. /usr/local/share/licenses/caddy-2.10.2_6/catalog.mk
  4. /usr/local/share/licenses/caddy-2.10.2_6/LICENSE
  5. /usr/local/share/licenses/caddy-2.10.2_6/APACHE20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • caddy
Dependency lines:
  • caddy>0:www/caddy
Conflicts:
CONFLICTS_INSTALL:
  • caddy-custom
To install the port:
cd /usr/ports/www/caddy/ && make install clean
To add the package, run one of these commands:
  • pkg install www/caddy
  • pkg install caddy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: caddy
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1755930188 SHA256 (go/www_caddy/caddy-v2.10.2/v2.10.2.mod) = 7e87755804bbf9ab9925dde2fe8c61d53e949d38af686da14baa04f14ce5a9ee SIZE (go/www_caddy/caddy-v2.10.2/v2.10.2.mod) = 7407

Expand this list (2 items)

Collapse this list.

SHA256 (go/www_caddy/caddy-v2.10.2/v2.10.2.zip) = 8024a9d8afed63353ad502616f34ceae89980c40a5a36913885b55d2709483c6 SIZE (go/www_caddy/caddy-v2.10.2/v2.10.2.zip) = 1083365

Collapse this list.


Packages (timestamps in pop-ups are UTC):
caddy
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.10.2_52.10.2_5-2.10.2_12.10.2_6n/an/an/a
FreeBSD:13:quarterly2.10.2_22.10.2_5-2.10.0_22.10.2_5n/an/an/a
FreeBSD:14:latest2.10.2_52.10.2_6-2.10.22.10.2_6---
FreeBSD:14:quarterly2.10.2_22.10.2_5-2.10.0_22.10.2_5---
FreeBSD:15:latest2.10.2_62.10.2_6n/a-n/an/a--
FreeBSD:15:quarterly2.10.2_52.10.2_5n/a-n/an/a--
FreeBSD:16:latest2.10.2_52.10.2_5n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go124 : lang/go124
Fetch dependencies:
  1. go124 : lang/go124
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
www_caddy
USES:
cpe go:modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/caddyserver/caddy/v2/@v/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2023-10-11
    Affects: users of www/caddy
    Author: adamw@FreeBSD.org
    Reason: 
      The default admin endpoint has changed from localhost:2019 to
      /var/run/caddy/caddy.sock. Using a Unix socket is more secure,
      allowing it to be secured by filesystem permissions rather than
      requiring a firewall.
    
      If you only control caddy from the rc(8) script (service caddy ...),
      you don't need to do anything. If you access the API yourself, you
      will want to update your scripts to use the new socket.
    
      To use the old endpoint, add the following to /etc/rc.conf:
    
        caddy_admin="localhost:2019"
    
    
Expand this list (1 items)
  • 2021-03-28
    Affects: users of www/caddy
    Author: adamw@FreeBSD.org
    Reason: 
      The default locations for caddy runtime files have changed.
    
      - Caddy's runtime log is now /var/log/caddy/caddy.log
        (was /var/log/caddy.log)
    
      - Automatic SSL certs are now stored in /var/db/caddy/data/caddy
        (was /root/.local/share/caddy)
    
      - Configuration autosaves are now stored in /var/db/caddy/config/caddy
        (was /root/.config/caddy)
    
      You can change these defaults. See /usr/local/etc/rc.d/caddy for the
      list of settings.
    
    
  • Collapse this list.

Number of commits found: 105 (showing only 5 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.11.0
11 May 2018 14:45:35
Revision:469642Original commit files touched by this commit
swills search for other commits by this committer
www/caddy: Update to 0.11.0

PR:		228158
Submitted by:	Fabian Freyer <fabian.freyer@physik.tu-berlin.de> (maintainer)
0.10.14
25 Apr 2018 13:18:17
Revision:468278Original commit files touched by this commit
joneum search for other commits by this committer
www/caddy: update to 0.10.14

PR:		227764
Submitted by:	maintainer
0.10.12
30 Mar 2018 18:18:55
Revision:465989Original commit files touched by this commit
fernape search for other commits by this committer
Update www/caddy to 0.10.12

PR:	27089
Submitted by:	fabian.freyer@physik.tu-berlin.de
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14903
0.10.11
22 Feb 2018 23:50:49
Revision:462653Original commit files touched by this commit
yuri search for other commits by this committer
www/caddy: Update to 0.10.11

Additional port chanegs:
* Added pkg-message
* Removed STRIP= because it is safe to strip go executables
* Improved do-build

PR:		226131
Submitted by:	Fabian Freyer <fabian.freyer@physik.tu-berlin.de> (maintainer)
Approved by:	tcberner (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D14475
0.10.10
12 Oct 2017 08:12:13
Revision:451831Original commit files touched by this commit
ehaupt search for other commits by this committer
Add caddy 0.10.10, fast, cross-platform HTTP/2 web server with automatic
HTTPS.

PR:		222938
Submitted by:	fabian.freyer@physik.tu-berlin.de

Number of commits found: 105 (showing only 5 on this page)

«  1 | 2