/caddy-save

caddy handler to save request body to specified file

Primary LanguageGoThe UnlicenseUnlicense

caddy-save

caddy handler to save request body to specified file

Usage

Self-updating Caddyfile with caddy-exec

route /caddy {
	basic_auth {
		Deployment <hashed password>
	}
	save Caddyfile
	exec caddy reload
}