Leantime / docker-leantime

Official Docker Image for Leantime https://leantime.io
GNU Affero General Public License v3.0
190 stars 86 forks source link

LEAN_APP_URL unclear in the sample.env file #77

Closed johncadengo closed 5 months ago

johncadengo commented 5 months ago

I'm running Leantime behind a reverse proxy that's using SSL.

I ran into an issue where the CSS wasn't working properly and forms were being submitted insecurely.

In the sample.env file it has the following line:

LEAN_APP_URL = ''                             # Base URL, only needed for subfolder installation

This comment is confusing since I don't have a subfolder installation. I think it's misleading. I have a reverse proxy and am using SSL. However, this parameter is needed.

I believe the documentation needs to be updated to clarify the meaning of this parameter. I'm not sure if there's more documentation that's clearer about it, but I couldn't find it.

Once I set this parameter, including the https:// in the URL, it solved my issue.

Screenshot 2024-04-04 at 6 27 43 PM Screenshot 2024-04-04 at 6 29 17 PM

marcelfolaron commented 5 months ago

Thank you. Agreed, I updated the comment in the sample file