Skip to content

Virtual filesystem for Caddy using git repo as backend

License

Notifications You must be signed in to change notification settings

mohammed90/caddy-git-fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caddy Git Filesystem

This plugin allows you to serve files from a git repository directory by cloning it in-memory at Caddy boot.

Installation

Install the plugin using the xcaddy:

xcaddy build --with github.com/mohammed90/caddy-git-fs

Usage

{
	filesystem nginx-repo git https://github.com/caddyserver/nginx-adapter {
		refresh_period 10s # optional, no refresh when omitted
	}
}
example.com {
	file_server {
		fs nginx-repo
	}
}

About

Virtual filesystem for Caddy using git repo as backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages