moved settings to folder
This commit is contained in:
12
settings/fb-settings.json
Normal file
12
settings/fb-settings.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"port": 80,
|
||||
"baseURL": "",
|
||||
"address": "0.0.0.0",
|
||||
"log": "stdout",
|
||||
"database": "/database/filebrowser.db",
|
||||
"root": "/fdroid/repo",
|
||||
"auth": {
|
||||
"method": "json",
|
||||
"file": "/usr/local/.fbconfig/users.json"
|
||||
}
|
||||
}
|
||||
20
settings/fb-users.json
Normal file
20
settings/fb-users.json
Normal file
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"username": "admin",
|
||||
"password": "$2a$10$9hR3U9G8cPGg2f6jP0U8UO9hJ1z7E5aZ6d8N7nG9vWUO9hJ1z7E5a",
|
||||
"scope": "/",
|
||||
"locale": "en",
|
||||
"viewMode": "mosaic",
|
||||
"perm": {
|
||||
"admin": true,
|
||||
"execute": true,
|
||||
"create": true,
|
||||
"rename": true,
|
||||
"modify": true,
|
||||
"delete": true,
|
||||
"share": true,
|
||||
"download": true
|
||||
}
|
||||
}
|
||||
]
|
||||
15
settings/nginx.conf
Normal file
15
settings/nginx.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 8084;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /fdroid/repo;
|
||||
autoindex on;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user