summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorgabek <gabek@noreply@mills.io>2022-08-25 23:32:08 +0000
committerJames Mills <james@mills.io>2022-08-25 23:32:08 +0000
commit199aaa171f552719a7ac4c6539b921827de22d96 (patch)
treed67134762fee8494895376067552c510d0d0d7aa /README.md
parent1791533e0eae20edcec453d319a9ec0d8db063e8 (diff)
Readme update to show /upload authentication (#24)
Reviewed-on: https://git.mills.io/prologic/tube/pulls/24 Co-authored-by: gabek <gabek@noreply@mills.io> Co-committed-by: gabek <gabek@noreply@mills.io>
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5bd8515..fb36e9c 100644
--- a/README.md
+++ b/README.md
@@ -173,6 +173,19 @@ Set `path` to the value of the path where you want to store videos and where
}
```
+### Optionally Require Password for Uploading
+
+You might be hosting a page where the public can view video, but you
+don't want others to be able to upload and add content.
+
+By specifying a password as an environment variable when running tube
+you can require this password to be provided when you access `/upload`.
+The username will always be `uploader`.
+
+```#!sh
+$ auth_password=upload123 tube -c config.json
+```
+
### Feed (RSS) Configuration
```#!json