Fixed typos in docs/config.md
Somajit committed
Dec 4, 2021 at 07:06 UTC
7e4fcbb3245eed8281c832e4b3e67fd413ab8b3c
1 file changed
+4
-4
docs/config.md
+4
-4
@@ -701,7 +701,7 @@ between content roots.
701
702
- `true` - enables [subdomain gateway](#https://docs.ipfs.io/how-to/address-ipfs-on-web/#subdomain-gateway) at `http://*.{hostname}/`
703
- **Requires whitelist:** make sure respective `Paths` are set.
704
- For example, `Paths: ["/ipfs", "/ipns"]` are required for `http://{cid}.ipfs.{hostname}` and `http://{foo}.ipns.{hostname}` to work:
704
+ For example, `Paths: ["/ipfs", "/ipns"]` are required for `http://{cid}.ipfs.{hostname}` and `http://{foo}.ipns.{hostname}` to work:
705
```json
706
"Gateway": {
707
"PublicGateways": {
@@ -786,7 +786,7 @@ Below is a list of the most common public gateway setups.
786
`http://dweb.link/ipfs/{cid}` → `http://{cid}.ipfs.dweb.link`
787
788
- **X-Forwarded-Proto:** if you run go-ipfs behind a reverse proxy that provides TLS, make it add a `X-Forwarded-Proto: https` HTTP header to ensure users are redirected to `https://`, not `http://`. It will also ensure DNSLink names are inlined to fit in a single DNS label, so they work fine with a wildcart TLS cert ([details](https://github.com/ipfs/in-web-browsers/issues/169)). The NGINX directive is `proxy_set_header X-Forwarded-Proto "https";`.:
789
-
789
+
790
`http://dweb.link/ipfs/{cid}` → `https://{cid}.ipfs.dweb.link`
791
792
`http://dweb.link/ipns/your-dnslink.site.example.com` → `https://your--dnslink-site-example-com.ipfs.dweb.link`
@@ -1392,7 +1392,7 @@ Enables providing `/p2p-circuit` v2 relay service to other peers on the network.
1392
1393
NOTE: This is the service/server part of the relay system.
1394
Disabling this will prevent this node from running as a relay server.
1395
-Use [`Swarm.EnableAutoRelay`](#swarmenableautorelay) for turning your node into a relay user.
1395
+Use [`Swarm.RelayClient.Enabled`](#swarmrelayclientenabled) for turning your node into a relay user.
1396
1397
Default: Enabled
1398
@@ -1441,7 +1441,7 @@ Default: `128`
1441
Type: `optionalInteger`
1442
1443
1444
-#### `Swarm.RelayService.MaxReservations`
1444
+#### `Swarm.RelayService.MaxCircuits`
1445
1446
Maximum number of open relay connections for each peer.
1447