36 lines
977 B
Plaintext
36 lines
977 B
Plaintext
// Text after '//' until the end of line are comments and ignored
|
|
// Each line is parsed and splitted by space|tab
|
|
// Each line have to be 2 columns,
|
|
// one for source [required] and one for destination [optional]
|
|
// A line with only a source element act as a master domain
|
|
// A line with the source ending with '.' is a subdomain for preceding master domain
|
|
|
|
|
|
exemple.com
|
|
. 8080 // http://exemple.com (no subDomain)
|
|
www. 8080
|
|
money. 9888
|
|
ipfs. 9169/ipfs/ // http://ipfs.exemple.com/QmDdCDgSD8JnsSDF8fsGhjggh78gyGfySD3JLK
|
|
ipns. 9169/ipns/
|
|
ipdb. 9142 // IPDB > 9 16 4 2
|
|
|
|
nuitdebout. 192.168.7.62:3333
|
|
|
|
|
|
mycooldomain.lol
|
|
. 6776
|
|
www. 6776
|
|
*. 6776/${subDomain}/
|
|
tag-*. 6776/tags/${subDomain.split('-')[1]}/
|
|
|
|
|
|
nuitdebook.io 31316 // 31/03/16
|
|
// nuitdebook.city 31316/tag/${subDomain}/
|
|
|
|
// /(.*?)\.nuitdebook\.city/ 31316/tag/$1/
|
|
|
|
|
|
// no spaces
|
|
money.p2p.legal 8080
|
|
|