1ere analyse
This commit is contained in:
parent
4abc7ddd69
commit
98783b035f
|
@ -96,4 +96,12 @@ else
|
|||
create_vhost
|
||||
fi
|
||||
|
||||
## 1ere analyse
|
||||
# A priori utiliser avec domain=$IPFSNODEID ip=local port=10101 ssl=no
|
||||
# [[ ! $(ipfs p2p ls | grep '/x/10101') ]] && ipfs p2p listen /x/10101 /ip4/127.0.0.1/tcp/10101
|
||||
# Chaque station publie ses services/API sur un port numéroté /x/10101 relayé en 127.0.0.1/tcp/20101
|
||||
# Elle publie cette information aux bootstrap (gateway) qui prennent en charge le relai https "ipfs p2p"
|
||||
# [[ ! $(ipfs p2p ls | grep '/x/10101') ]] && ipfs --timeout=5s ping -n 1 /p2p/$IPFSNODEID && ipfs p2p forward /x/10101 /ip4/127.0.0.1/tcp/20101 /p2p/$IPFSNODEID
|
||||
# A l'autre boût on sort domain=tata.toto.com ip=local port=20101 ssl=yes
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue