Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
caddy Fast, highly configurable HTTP/1-2-3 web server with automatic TLS
2.11.7_2 www Σ=16 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.11.4_6Version 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-10-20 11:05:23
Commit Hash: d81b7ba
People watching this port, also watch: nginx, nmap, curl, smartmontools, unbound
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.11.7_2/catalog.mk
  4. /usr/local/share/licenses/caddy-2.11.7_2/LICENSE
  5. /usr/local/share/licenses/caddy-2.11.7_2/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 = 1791035653 SHA256 (go/www_caddy/caddy-v2.11.7/v2.11.7.mod) = 62fdd786b2f9ced74c818132ebaeba320e25528ed316202902918afa73473b72 SIZE (go/www_caddy/caddy-v2.11.7/v2.11.7.mod) = 8385

Expand this list (2 items)

Collapse this list.

SHA256 (go/www_caddy/caddy-v2.11.7/v2.11.7.zip) = c5b3a3304999625d751b2d2284cb037b9530bf563d1a62b720a7aa6765b0a5d9 SIZE (go/www_caddy/caddy-v2.11.7/v2.11.7.zip) = 1582297

Collapse this list.


Packages (timestamps in pop-ups are UTC): #
caddy
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.11.7_12.11.7_1-2.10.22.11.7_1
FreeBSD:14:quarterly2.11.4_52.11.4_5-2.10.0_22.11.4_5
FreeBSD:15:latest2.11.7_12.11.7_1n/a-n/a
FreeBSD:15:quarterly2.11.4_52.11.4_5n/a-n/a
FreeBSD:16:latest2.11.62.11.7_1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. go127 : lang/go127
Fetch dependencies: #
  1. go127 : lang/go127
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: 124 (showing only 24 on this page) #

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.4.1
20 May 2021 13:10:58
commit hash: 8ad46e2fad4a0f38a7a25105cd63bcf96740b20fcommit hash: 8ad46e2fad4a0f38a7a25105cd63bcf96740b20fcommit hash: 8ad46e2fad4a0f38a7a25105cd63bcf96740b20fcommit hash: 8ad46e2fad4a0f38a7a25105cd63bcf96740b20f files touched by this commit This port version is marked as vulnerable.
Adam Weinberger (adamw) search for other commits by this committer
www/caddy: Update to 2.4.1

Changes:

  A small patch release that contains a few noncritical but pleasant
  fixes (unless you're using /id/ endpoints in the admin API; then you
  should definitely get this update).

  admin: Reinstate internal redirect for /id/ requests
  caddyfile: Add parse error on site address with trailing {
  cmd: upgrade: inherit the permissions of the original executable
  httpcaddyfile: Fix automation policy consolidation again
  logging: Implement dial timeout for net writer
  reverseproxy: Set the headers in the replacer before handle_response
2.4.0
15 May 2021 12:19:37
commit hash: 4b469199a77e2ca167474c7fce56db018b4eb9edcommit hash: 4b469199a77e2ca167474c7fce56db018b4eb9edcommit hash: 4b469199a77e2ca167474c7fce56db018b4eb9edcommit hash: 4b469199a77e2ca167474c7fce56db018b4eb9ed files touched by this commit This port version is marked as vulnerable.
Adam Weinberger (adamw) search for other commits by this committer
www/caddy: Use go:modules to reduce the massive GH_TUPLE
2.4.0
10 May 2021 22:33:42
commit hash: 476b6c041a5b38e78d9f45609fb356635eb15d03commit hash: 476b6c041a5b38e78d9f45609fb356635eb15d03commit hash: 476b6c041a5b38e78d9f45609fb356635eb15d03commit hash: 476b6c041a5b38e78d9f45609fb356635eb15d03 files touched by this commit This port version is marked as vulnerable.
Adam Weinberger (adamw) search for other commits by this committer
www/caddy: Update to 2.4.0

Changes:

* Secure remote management. You can now enable secure remote access to
  Caddy's admin API! It uses TLS mutual authentication, and you can even
  define permissions for different users. PR #3994
* Config pull at start. Caddy can be configured to load a different
  config at startup. This is useful if your config is federated through
  a separate system that doesn't have the ability to push configs to
  Caddy. This feature is modular, so configurations can be loaded
  different ways! PR #3994
* Server identity management. Caddy can automatically manage its own
  server identity certificate, which can be used when negotiating TLS
  connections with peers. This is required when enabling the secure
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.3.0_1
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
2.3.0_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.3.0_1
28 Mar 2021 19:34:03
Revision:569408Original commit files touched by this commit This port version is marked as vulnerable.
adamw search for other commits by this committer
www/caddy: Change all caddy runtime locations

Thanks to work by scf, the caddy rc(8) script has been completely
rewritten and substantially improved, though this necessitated
changing all runtime locations.

Most importantly:
- The runtime log now lives in /var/log/caddy/ instead of /var/log,
  so that the logdir can be null-mounted

- Automatic SSL certs are now stored in /var/db/caddy/data/caddy,
  instead of /root/.local/share/caddy

Caddy uses freedesktop.org's XDG base dir specification, which
conflicts quite spectacularly with FreeBSD's hier(7). The most
sensible thing to do was to put the runtime data stores into
/var/db/caddy, though XDG needs XDG_DATA_HOME and XDG_CONFIG_HOME
to be separate dirs and caddy will create a .../caddy subdir in
each of them.
2.3.0
24 Mar 2021 03:30:27
Revision:569090Original commit files touched by this commit This port version is marked as vulnerable.
adamw search for other commits by this committer
www/caddy: Sort GH_TUPLE
2.3.0
23 Mar 2021 23:25:09
Revision:569072Original commit files touched by this commit This port version is marked as vulnerable.
adamw search for other commits by this committer
www/caddy: Fix fetch

No idea how I wound up listing the same package 5 times
with two different versions, but here we are.
2.3.0
21 Mar 2021 17:27:54
Revision:568926Original commit files touched by this commit This port version is marked as vulnerable.
adamw search for other commits by this committer
www/caddy: Update to 2.3.0 and take maintainership

Thanks to Daniel Tihanyi for all his work maintaining this port!

While here, a number of cleanups:
- Simplify Makefile
- Remove pkg-message whose instructions were superseded by @sample
- Re-enable cgo. It seems to work fine now.
- Rename the rc(8) 'validate' subcommand to 'configtest' for clarity and
consistency
- Add a little more info to the sample Caddyfile
- Point to instructions for getting access logs working

Changes: https://github.com/caddyserver/caddy/releases/tag/v2.3.0

PR:		254436
Approved by:	Daniel Tihanyi (outgoing maintainer)
2.2.1
22 Oct 2020 06:38:09
Revision:552937Original commit files touched by this commit This port version is marked as vulnerable.
lwhsu search for other commits by this committer
www/caddy: Update to 2.2.1

PR:		250447
Submitted by:	Daniel Tihanyi <daniel.tihanyi@tetragir.com> (maintainer)
2.1.1_1
10 Aug 2020 16:36:26
Revision:544626Original commit files touched by this commit This port version is marked as vulnerable.
fernape search for other commits by this committer
www/caddy: fix build when archivers/zstd is installed

www/caddy ships with an obsoleted go wrapper for zstd. We need a newer one or
the build will fail if archivers/zstd is installed.

PR:	248547
Submitted by:	riedre@ya.ru
Reviewed by:	daniel.tihanyi@tetragir.com (maintainer)
2.1.1
06 Aug 2020 17:35:42
Revision:544283Original commit files touched by this commit This port version is marked as vulnerable.
pi search for other commits by this committer
www/caddy: upgrade 1.0.4 -> 2.1.1

- previous version was deprecated by upstream
- submitter becomes maintainer

PR:		246623
Submitted by:	daniel.tihanyi@tetragir.com
Reviewed by:	basil.hendroff@gmail.com, dan@familybrown.org
Approved by:	fabian.freyer@physik.tu-berlin.de (maintainer timeout)
Relnotes:	https://caddyserver.com/v2
1.0.4
06 Jan 2020 12:05:57
Revision:522216Original commit files touched by this commit This port version is marked as vulnerable.
dmgk search for other commits by this committer
www/caddy: Update to 1.0.4

- While here, unbreak on aarch64
(https://github.com/caddyserver/caddy/pull/2956)

PR:		242441
Submitted by:	Shawn Wilsher <me@shawnwilsher.com>
Reviewed by:	GremL1N <viktor.dvz@gmail.com>, dmgk
Approved by:	maintainer timeout (fabian.freyer@physik.tu-berlin.de, 1 month)
0.11.5_2
16 Nov 2019 12:52:40
Revision:517745Original commit files touched by this commit This port version is marked as vulnerable.
dmgk search for other commits by this committer
Bump PORTREVISION after r517743 to force relinking.

Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D21854
0.11.5_1
29 Sep 2019 22:34:31
Revision:513276Original commit files touched by this commit This port version is marked as vulnerable.
dmgk search for other commits by this committer
Go ports: cleanup, finish transition to USES=go started with r505321 (cat.
sysutils-x11)

- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21744
0.11.5_1
14 Aug 2019 12:25:09
Revision:508913Original commit files touched by this commit This port version is marked as vulnerable.
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories w)
0.11.5_1
15 Apr 2019 12:55:22
Revision:499020Original commit files touched by this commit This port version is marked as vulnerable.
rodrigo search for other commits by this committer
Add missing run dependency to security/ca_root_nss

Caddy has a feature for automatic Certification installation
from let's encrypt for HTTPS.
Without security/ca_root_nss certificates are impossible to
install, because root certificate is missing.

Bump PORTREVISION.

PR:		237293
Submitted by:	Pwny Tail <pwnytail@bsd.services>
Approved by:	 Fabian Freyer <fabian.freyer@physik.tu-berlin.de> (maintainer)
MFH:		2019Q2
0.11.5
05 Apr 2019 17:50:31
Revision:497975Original commit files touched by this commit This port version is marked as vulnerable.
rodrigo search for other commits by this committer
Upgrade www/caddy from v0.11.1 to vO.11.5

Changelogs:
  * https://github.com/mholt/caddy/releases/tag/v0.11.5
  * https://github.com/mholt/caddy/releases/tag/v0.11.4
  * https://github.com/mholt/caddy/releases/tag/v0.11.3
  * https://github.com/mholt/caddy/releases/tag/v0.11.2

PR:		236834
Submitted by:	Mohamed Akram <mohd.akram@outlook.com>
Approved by:	Fabian Freyer <fabian.freyer@physik.tu-berlin.de> (maintainer)
0.11.1
05 Jan 2019 12:05:12
Revision:489328Original commit files touched by this commit This port version is marked as vulnerable.
swills search for other commits by this committer
www/caddy: Update to 0.11.1

PR:		234629
Submitted by:	Fabian Freyer <fabian.freyer@physik.tu-berlin.de> (maintainer)
0.11.0
11 May 2018 14:45:35
Revision:469642Original commit files touched by this commit This port version is marked as vulnerable.
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 This port version is marked as vulnerable.
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 This port version is marked as vulnerable.
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 This port version is marked as vulnerable.
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 This port version is marked as vulnerable.
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: 124 (showing only 24 on this page)

«  1 | 2