mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 04:58:25 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start an HTTP server on a specific port to serve a specific directory:
|
||||
|
||||
`http-server {{path/to/directory}} --port {{port}}`
|
||||
`http-server {{path/to/directory}} {{[-p|--port]}} {{port}}`
|
||||
|
||||
- Start an HTTP server using basic authentication:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start an HTTPS server on the default port using the specified certificate:
|
||||
|
||||
`http-server --ssl --cert {{path/to/cert.pem}} --key {{path/to/key.pem}}`
|
||||
`http-server {{[-S|--ssl]}} {{[-C|--cert]}} {{path/to/cert.pem}} {{[-K|--key]}} {{path/to/key.pem}}`
|
||||
|
||||
- Start an HTTP server and include the client's IP address in the output logging:
|
||||
|
||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Start an HTTP server with logging disabled:
|
||||
|
||||
`http-server --silent`
|
||||
`http-server {{[-s|--silent]}}`
|
||||
|
||||
Reference in New Issue
Block a user