Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a bug: How to add authentication? #10

Open
link-leo opened this issue Dec 29, 2023 · 0 comments
Open

Not a bug: How to add authentication? #10

link-leo opened this issue Dec 29, 2023 · 0 comments

Comments

@link-leo
Copy link

Hello, this is not a bug.

I'd like to know how to add authentication for uploading videos, per the documentation on the original repo:

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.

$ auth_password=upload123 tube -c config.json

This command doesn't work on my YunoHost, and I don't see an authorization option in the existing /var/www/tube/config.json file. Any help is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant