mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 07:50:08 +00:00
Update cheatsheets
This commit is contained in:
21
darkhttpd
Normal file
21
darkhttpd
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# darkhttpd
|
||||
|
||||
> Darkhttpd web server.
|
||||
> More information: <https://unix4lyfe.org/darkhttpd>.
|
||||
|
||||
- Start server serving the specified document root:
|
||||
|
||||
`darkhttpd {{path/to/docroot}}`
|
||||
|
||||
- Start server on specified port (port 8080 by default if running as non-root user):
|
||||
|
||||
`darkhttpd {{path/to/docroot}} --port {{port}}`
|
||||
|
||||
- Listen only on specified IP address (by default, the server listens on all interfaces):
|
||||
|
||||
`darkhttpd {{path/to/docroot}} --addr {{ip_address}}`
|
||||
Reference in New Issue
Block a user