Skip to content

WeidiDeng/caddy-socket-activation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket Activation for Caddy (WIP)

Useful in deployments where sockets are passed by systemd.

Usage

Caddy Configuration

https:// {
    bind socket-activation/https
    respond "ok"
}

Using socket activation requires every site block to have explicit bind, it can be used in a snippet to avoid repetition.

Usage

Commandline

systemd-socket-activate -l 443 --fdname=http3 /path/to/caddy run

Credits

FD to sockets mapping comes from go-systemd.

About

socket activation for caddy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages