custom-caddy

command module
v0.0.0-...-579d6ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Custom Caddy build

Docker Build and Publish

This repository is used for my custom build of Caddy, containing the plugins I use.

Documentation

Overview

Package main is the entry point of the Caddy application. Most of Caddy's functionality is provided through modules, which can be plugged in by adding their import below.

There is no need to modify the Caddy source code to customize your builds. You can easily build a custom Caddy with these simple steps:

  1. Copy this file (main.go) into a new folder
  2. Edit the imports below to include the modules you want plugged in
  3. Run `go mod init caddy`
  4. Run `go install` or `go build` - you now have a custom binary!

Or you can use xcaddy which does it all for you as a command: https://github.com/caddyserver/xcaddy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL