push
This commit is contained in:
71
plik/plikd.cfg
Normal file
71
plik/plikd.cfg
Normal file
@@ -0,0 +1,71 @@
|
||||
#####
|
||||
##
|
||||
# Plik - Configuration File
|
||||
#
|
||||
|
||||
Debug = false
|
||||
DebugRequests = false
|
||||
LogLevel = "INFO"
|
||||
|
||||
ListenPort = 8080
|
||||
ListenAddress = "0.0.0.0"
|
||||
MetricsPort = 8811
|
||||
MetricsAddress = "0.0.0.0"
|
||||
Path = ""
|
||||
SslEnabled = false
|
||||
SslCert = "plik.crt"
|
||||
SslKey = "plik.key"
|
||||
TlsVersion = "tlsv12"
|
||||
NoWebInterface = false
|
||||
DownloadDomain = ""
|
||||
DownloadDomainAlias = []
|
||||
EnhancedWebSecurity = false
|
||||
SessionTimeout = "365d"
|
||||
AbuseContact = ""
|
||||
WebappDirectory = "../webapp/dist"
|
||||
ClientsDirectory = "../clients"
|
||||
ChangelogDirectory = "../changelog"
|
||||
SourceIpHeader = "X-Real-IP"
|
||||
UploadWhitelist = []
|
||||
|
||||
MaxFileSizeStr = "2GB"
|
||||
MaxUserSizeStr = "1GB"
|
||||
MaxFilePerUpload = 50
|
||||
|
||||
DefaultTTLStr = "7d"
|
||||
MaxTTLStr = "7d"
|
||||
|
||||
FeatureAuthentication = "disabled"
|
||||
FeatureOneShot = "enabled"
|
||||
FeatureRemovable = "enabled"
|
||||
FeatureStream = "enabled"
|
||||
FeaturePassword = "enabled"
|
||||
FeatureComments = "enabled"
|
||||
FeatureSetTTL = "enabled"
|
||||
FeatureExtendTTL = "disabled"
|
||||
FeatureClients = "enabled"
|
||||
FeatureGithub = "disabled"
|
||||
FeatureText = "enabled"
|
||||
|
||||
GoogleApiClientID = ""
|
||||
GoogleApiSecret = ""
|
||||
GoogleValidDomains = []
|
||||
OvhApiKey = ""
|
||||
OvhApiSecret = ""
|
||||
OvhApiEndpoint = ""
|
||||
|
||||
##################################################
|
||||
# Data backend configuration
|
||||
##################################################
|
||||
|
||||
DataBackend = "file"
|
||||
[DataBackendConfig]
|
||||
Directory = "files"
|
||||
|
||||
##################################################
|
||||
# Metadata backend configuration
|
||||
##################################################
|
||||
[MetadataBackendConfig]
|
||||
Driver = "sqlite3"
|
||||
ConnectionString = "/home/plik/server/meta/plik.db"
|
||||
Debug = false
|
Reference in New Issue
Block a user