Update for the new mode
This commit is contained in:
parent
079e33c7b5
commit
9e69194a36
11
README.md
11
README.md
@ -5,21 +5,26 @@ Also pyh(ttps) backward.
|
|||||||
Perfect for sharing files on the fly.
|
Perfect for sharing files on the fly.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
hyp
|
hyp
|
||||||
|
|
||||||
Will load tls certificates inside `/usr/local/etc/openssl` and start serving
|
Will load tls certificates inside `/usr/local/etc/openssl` and start serving
|
||||||
the working directory on every interface, on port 443.
|
the working directory on every interface, on port 443.
|
||||||
|
|
||||||
hyp localhost 8080
|
hyp localhost 8080
|
||||||
|
|
||||||
Use custom address and port.
|
Use custom address and port.
|
||||||
|
|
||||||
hyp -t /etc/ssl
|
hyp -t /etc/ssl
|
||||||
|
|
||||||
Use another directory.
|
Use another directory.
|
||||||
|
|
||||||
Without any key/certificate hyp will fallback to http.
|
Without any key/certificate hyp will fallback to http.
|
||||||
|
|
||||||
|
hyp -u
|
||||||
|
|
||||||
|
Will save in the current working directory any file uploaded with a POST request.
|
||||||
|
Go to the bind address for a handy html form.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Dual licensed under the MIT and GPL licenses:
|
Dual licensed under the MIT and GPL licenses:
|
||||||
|
Loading…
Reference in New Issue
Block a user