Skip to content

Commit 023fde7

Browse files
author
Andrei
committed
Minor fix to example structure.
1 parent 36cc6ee commit 023fde7

1 file changed

Lines changed: 11 additions & 15 deletions

File tree

‎EXAMPLES.md‎

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,21 @@ ldnode binary
66

77
ldnode can be started on its own by using the ldnode binary. Below are some examples with common configurations.
88

9-
* Starting ldnode as an HTTP server.
10-
* ```
11-
$ ldnode --root /var/www
12-
```
9+
* Starting ldnode as an HTTP server.
10+
11+
`$ ldnode --root /var/www`
1312

1413
* Starting ldnode as an HTTPS server with WebID+TLS authentication. This parameter requires that the user specifies the location of the key and the certificate used to start the HTTPS server with the help of the appropriate parameters.
15-
* ```
16-
$ ldnode --root /var/www --webid --cert ./cert.pem --key ./key.pem
17-
```
14+
15+
`$ ldnode --root /var/www --webid --cert ./cert.pem --key ./key.pem`
1816

1917
* Start HTTPS with custom error pages. ldnode will look for a file in the specified directory of the form <error-code>.html. If it's not found it will default to node's error page.
20-
* ```
21-
$ ldnode --root /var/www/ --webid --cert ./cert.pem --key ./key.pem --error-pages ./errors/
22-
```
23-
24-
* ldnode makes use of special files used for things such as access control, metadata management, subscription to changes, etc. These files are recognized by ldnode because of their suffix, which can be customized with the command line options that start with 'suffix'
25-
* ```
26-
$ ldnode --root /var/www/ --suffixMeta .altMeta --suffixAcl .altAcl
27-
```
18+
19+
`$ ldnode --root /var/www/ --webid --cert ./cert.pem --key ./key.pem --error-pages ./errors/`
20+
21+
* ldnode makes use of special files used for things such as access control, metadata management, subscription to changes, etc. These files are recognized by ldnode because of their suffix, which can be customized with the command line options that start with 'suffix'.
22+
23+
`$ ldnode --root /var/www/ --suffixMeta .altMeta --suffixAcl .altAcl`
2824

2925
Starting ldnode from a Node script
3026
-------------------------------------

0 commit comments

Comments
 (0)