moved settings to folder

This commit is contained in:
Daniele Viti
2023-09-13 15:01:41 +02:00
parent d1d9547a01
commit 9c356a140e
4 changed files with 4 additions and 4 deletions

12
settings/fb-settings.json Normal file
View 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
View 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
View File

@@ -0,0 +1,15 @@
events {
worker_connections 1024;
}
http {
server {
listen 8084;
server_name localhost;
location / {
root /fdroid/repo;
autoindex on;
}
}
}