Skip to content

felixhummel/caddy-static-review-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caddy: Map Subdomain to Directory

Caddy serves different subdomains to different directories on the file system with a mapping like this:

example.com --> /var/www/example.com/main
www.example.com --> /var/www/example.com/main
some-branch.example.com --> /var/www/example.com/some-branch
...

See the accompanying blog post Static Sites as Gitlab Review Apps with Caddy.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published