From 98cfaa0f2a1af1b140d507aaa66d4cee7acec31d Mon Sep 17 00:00:00 2001 From: LCD <37777903+PhoenixDiscord@users.noreply.github.com> Date: Thu, 2 Jul 2020 21:12:33 +0200 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2d1b24a0..7782e157 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,8 @@ docroot = "/usr/share/lms/docroot/;/newroot/resources,/newroot/css,/newroot/imag deploy-path = "/newroot/"; # ending slash is important ``` +If you use nginx as a reverse proxy, you can simply replace `location /` with `location /newroot/` to achieve the same result. + ### Reverse proxy settings _LMS_ is shipped with an embedded web server, but it is recommended to deploy behind a reverse proxy. You have to set the _behind-reverse-proxy_ option to _true_ in the `lms.conf` configuration file.