Gouplo is a simple & easy-to-use Go based fileserver with multi-file upload capability.
- jQuery/Ajax for dynamic form submissions without page reload.
- Automatically uses HTTPS for better security.
- HTTP Basic Authentication for simple login capability.
- Multiple file handling for batch upload jobs (no progress bar).
- Easily configurable via json config file.
NOTE: "This serves only as a demonstration. One can simply bypass the login if he directly accesses the subdomains."
On Linux/Unix systems the simplest way to obtain your SSL certificate & key file is by using Certbot https://certbot.eff.org/. You'll need the fullchain.pem and the privkey.pem files.
$ go build
Rename config.json.example
file to config.json
and edit the configuration values to suit your needs.
Note: If -config is omitted gouplo assumes config.json is in current directory.
$ gouplo -config "path/to/config.json"
Visit your web address in a web browser to test the server and verify your site is using a secure connection.
Once you have successfully tested the server you are ready to edit the code to better suit your needs. Good luck and have fun!