Skip to content

Commit

Permalink
functionality: UpGopher can now generate a self-signed certificate by…
Browse files Browse the repository at this point in the history
… setting the -ssl flag.
  • Loading branch information
wanetty committed Jul 17, 2024
1 parent bb9566e commit 97ecc17
Show file tree
Hide file tree
Showing 2 changed files with 196 additions and 129 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This project tries to replace all file servers that use python, since there are
* Users can view a list of the uploaded files by visiting the root URL
* Basic authentication is available to restrict access to the server. To use it, set the -user and -pass flags with the desired username and password.
* Traffic via HTTPS.
* functionality: Generate a self-signed certificate by setting the -ssl flag.
* Possibility to browse through folders and upload files...


Expand Down Expand Up @@ -56,17 +57,17 @@ podman run --name upgopher -p 9090:9090 upgopher
./upgopher -h
Usage of ./upgopher:
-cert string
certificado para HTTPS
HTTPS certificate
-dir string
directory path (default "./uploads")
-key string
clave privada para HTTPS
private key for HTTPS
-pass string
password for authentication
-port int
port number (default 9090)
-tls
utilizar HTTPS
-ssl
use HTTPS on port 443 by default. (If you don't put cert and key, it will generate a self-signed certificate)
-user string
username for authentication
```
Expand Down
Loading

0 comments on commit 97ecc17

Please sign in to comment.