1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

updog: add page (#6322)

This commit is contained in:
Wizmon2 2021-08-18 01:38:32 +05:30 committed by GitHub
parent 4ba58f514a
commit b37f341b58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
pages/common/updog.md Normal file
View file

@ -0,0 +1,25 @@
# updog
> A replacement for Python's SimpleHTTPServer.
> It allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use HTTP basic auth.
> More information: <https://github.com/sc0tfree/updog>.
- Start a HTTP server for the current directory:
`updog`
- Start a HTTP server for a specified directory:
`updog --directory {{/path/to/directory}}`
- Start a HTTP server on a specified port:
`updog --port {{port}}`
- Start a HTTP server with a password (To log in, leave the username blank and enter the password in the password field):
`updog --password {{password}}`
- Enable transport encryption via SSL :
`updog --ssl`