h5ai file indexer
How to create a download directory?
You can create the directory with following command:
- vhost public access
- subfolder public access
- vhost private access
- subfolder private access
box install h5ai --public --vhost example.com
box install h5ai --public --subfolder share
box install h5ai --private --vhost example.com
box install h5ai --private --subfolder share
TIP
Nginx Virtual Host (vhost) refers to the ability to run multiple websites (or applications) on the same server. vhost is usually of the following form vhost1.example.com
, vhost2.example.com
subfolder refers to the ability to run multiple applications on the same server and place them in different subfolders. subfolders is usually of the following form box.example.com/subfolder
TIP
add --lecert
to protect your URL with Let's Encrypt
Can I add other credentials to this directory?
Simply use --auth
for additional credentials.
TIP
you can add more then one credentials by --auth "username1:password" --auth "username2:password"