Fixed some relative paths to ease deployment on non a root path. Ref #41

This commit is contained in:
emeric
2020-04-03 14:43:04 +02:00
parent 5e8e46e77f
commit 9d06b02acc
4 changed files with 20 additions and 8 deletions
+3 -4
View File
@@ -18,19 +18,18 @@ listen-port = 5082;
listen-addr = "0.0.0.0";
behind-reverse-proxy = false;
# Location for deployment
deploy-path = "/";
# 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
# 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";
# Location for deployment (See README if you want to deploy on a non root path)
deploy-path = "/";
# Acoustic brainz's root API
acousticbrainz-api-url = "https://acousticbrainz.org/api/v1/";