38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# LMS Sample configuration file
|
|
|
|
# Path to the working directory
|
|
# Must have write privileges in order to create and modify this directory
|
|
working-dir = "/var/lms/";
|
|
|
|
# Listen port/addr of the web server
|
|
listen-port = 5082;
|
|
listen-addr = "0.0.0.0";
|
|
behind-reverse-proxy = false;
|
|
|
|
# If enabled, these files have to exist and have correct permissions
|
|
tls-enable = false;
|
|
tls-cert = "/var/lms/cert.pem";
|
|
tls-key = "/var/lms/privkey.pem";
|
|
tls-dh = "/var/lms/dh2048.pem";
|
|
|
|
# Path to the resources used by the web interface
|
|
wt-resources="/usr/share/Wt/resources";
|
|
docroot = "/usr/share/lms/docroot/;/resources,/css,/images,/js,/favicon.ico";
|
|
approot = "/usr/share/lms/approot";
|
|
|
|
# Acoustic brainz's root API
|
|
acousticbrainz-api-url = "https://acousticbrainz.org/api/v1/";
|
|
|
|
# API
|
|
api-subsonic = true;
|
|
|
|
# Logger configuration, see log-config in https://webtoolkit.eu/wt/doc/reference/html/overview.html#config_general
|
|
log-config = "* -debug -info:WebRequest";
|
|
|
|
# Turn on this option to allow the demo account creation/use
|
|
demo = false;
|
|
|
|
# Max entries in the logging throttler (1 entry per client)
|
|
login-throttler-max-entries = 10000;
|
|
|