inital setup
This commit is contained in:
12
files/conf/snippets/auth
Normal file
12
files/conf/snippets/auth
Normal file
@@ -0,0 +1,12 @@
|
||||
## generate pass hash (debian):
|
||||
# sudo apt install apache2-utils
|
||||
# htpasswd -bnBC 10 "" password | tr -d ':'
|
||||
|
||||
# user: test
|
||||
# password: password
|
||||
|
||||
(auth) {
|
||||
basicauth {args.0} {
|
||||
test $2y$10$XSrHHXUlQZeRumAc9nl7QevDzKv9H5TXVtb6nxr0Gmrk6VogHWRVK
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user