@beaker/homebase
Version:
An easy-to-administer hosting server for Hyperdrive.
34 lines (31 loc) • 1.02 kB
YAML
directory: ~/.homebase # where your data will be stored
httpMirror: true # enables http mirrors of the dats
ports:
http: 80 # HTTP port for redirects or non-SSL serving
dashboard: # set to false to disable
port: 8089 # port for accessing the metrics dashboard
# enter your hosted hyperdrives here
hyperdrives:
- url: hyper://1f968afe867f06b0d344c11efc23591c7f8c5fb3b4ac938d6000f330f6ee2a03/
domains:
- mysite.com
- my-site.com
- url: 868d6000f330f6967f06b3ee2a03811efc23591afe0d344cc7f8c5fb3b4ac91f
domain:
- othersite.com
# enter any proxied routes here
proxies:
- from: myproxy.com
to: https://mysite.com/
- from: foo.proxy.edu
to: http://localhost:8080/
- from: best-proxy-ever
to: http://127.0.0.1:123/
# enter any redirect routes here
redirects:
- from: myredirect.com
to: https://mysite.com/
- from: foo.redirect.edu
to: http://localhost:8080/
- from: best-redirect-ever
to: http://127.0.0.1:123/