Skip to content

chenyao36/static-host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-host

Serve multiple directories as a website.

Installation

cargo install --git https://github.com/chenyao36/static-host

Configuration

Example:

{
    "/public": { "path": "/mnt/hdd/public" },
    "/private": { "path": "/mnt/hdd/private", "dir": false },
    "/mnt/ssd/public": {},
    "/api/get": { "proxy_to": "https://httpbin.org/get" }
}

About

Serve multiple directories as a website.

Resources

Stars

Watchers

Forks

Contributors

Languages