Update TinfoilWebServer.config.json
Browse files
TinfoilWebServer.config.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
"ServedDirectories": [
|
| 3 |
"StripDirectoryNames": true,
|
| 4 |
"ServeEmptyDirectories": false,
|
| 5 |
-
"AllowedExt": [
|
| 6 |
"MessageOfTheDay": "Hello World!",
|
| 7 |
"ExpirationMessage": "Oops! Your account expired.",
|
| 8 |
"CustomIndexPath": null,
|
|
@@ -28,12 +28,12 @@
|
|
| 28 |
},
|
| 29 |
"FingerprintsFilter": {
|
| 30 |
"Enabled": true,
|
| 31 |
-
"FingerprintsFilePath": "fingerprints.json",
|
| 32 |
"MaxFingerprints": 1
|
| 33 |
},
|
| 34 |
"Blacklist": {
|
| 35 |
"Enabled": true,
|
| 36 |
-
"FilePath": "blacklist.txt",
|
| 37 |
"MaxConsecutiveFailedAuth": 3,
|
| 38 |
"IsBehindProxy": false
|
| 39 |
},
|
|
@@ -54,11 +54,11 @@
|
|
| 54 |
}
|
| 55 |
},
|
| 56 |
"File": {
|
| 57 |
-
"Path": "TinfoilWebServer.log",
|
| 58 |
"Append": true,
|
| 59 |
"MinLevel": "Information",
|
| 60 |
"FileSizeLimitBytes": 1000000,
|
| 61 |
"MaxRollingFiles": 10
|
| 62 |
}
|
| 63 |
}
|
| 64 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"ServedDirectories": ["/data/Switch/Packages"],
|
| 3 |
"StripDirectoryNames": true,
|
| 4 |
"ServeEmptyDirectories": false,
|
| 5 |
+
"AllowedExt": ["nsp", "nsz", "xci", "xcz"],
|
| 6 |
"MessageOfTheDay": "Hello World!",
|
| 7 |
"ExpirationMessage": "Oops! Your account expired.",
|
| 8 |
"CustomIndexPath": null,
|
|
|
|
| 28 |
},
|
| 29 |
"FingerprintsFilter": {
|
| 30 |
"Enabled": true,
|
| 31 |
+
"FingerprintsFilePath": "/tmp/fingerprints.json",
|
| 32 |
"MaxFingerprints": 1
|
| 33 |
},
|
| 34 |
"Blacklist": {
|
| 35 |
"Enabled": true,
|
| 36 |
+
"FilePath": "/tmp/blacklist.txt",
|
| 37 |
"MaxConsecutiveFailedAuth": 3,
|
| 38 |
"IsBehindProxy": false
|
| 39 |
},
|
|
|
|
| 54 |
}
|
| 55 |
},
|
| 56 |
"File": {
|
| 57 |
+
"Path": "/tmp/TinfoilWebServer.log",
|
| 58 |
"Append": true,
|
| 59 |
"MinLevel": "Information",
|
| 60 |
"FileSizeLimitBytes": 1000000,
|
| 61 |
"MaxRollingFiles": 10
|
| 62 |
}
|
| 63 |
}
|
| 64 |
+
}
|