Skip to content

rilzbo/caddy-socket-activation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Socket Activation for Caddy

Useful in deployments where sockets are passed by systemd.

Usage

Caddy Configuration

localhost:443 {
    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=https systemd-socket-activate --datagram -l 443 --fdname=https:https caddy run

About

socket activation for caddy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%