honor public URL in share links

This commit is contained in:
2026-07-29 10:24:45 -05:00
parent 7059a25728
commit d3063bcc7f
3 changed files with 21 additions and 2 deletions
+3
View File
@@ -25,6 +25,9 @@ db-profile-queries = false;
# Listen port/addr of the web server
listen-port = 5082;
listen-addr = "0.0.0.0";
# Externally visible URL used in generated share links. Leave empty to infer it
# from the request. This is normally set when LMS is behind a reverse proxy.
public-url = "";
behind-reverse-proxy = false;
# original-ip-header and trusted-proxies are used only if behind-reverse-proxy is set to true
original-ip-header = "X-Forwarded-For";