-
|
When we update an instance from 3.2.1 to 3.3.3 (using manual install/update) we lose access with the browser showing We're using the same config files as before, and reverting to 3.2.1 restores access. We also experience the error on a new 3.3.3 instance, but a new 3.2.1 instance works. logs/leantime.log, logs/error.log and storage/logs/leantime.log are empty. Our setup looks like this: We have multiple instances set up to run on their own port and subfolder on the Leantime server, so, for example, sub.domain.com/subfolder will first hit the web server then be directed to the Leantime server specifying the appropriate port (5000 in this case). This is the nginx config file at the web server: This is the nginx config file at the Leantime server: As mentioned, these nginx configs work for 3.2.1 but we get A fresh 3.3.3 instance also fails with the same error after redirecting to https://sub.domain.com/subfolder/install. Do you have experience with or pointers for this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
|
Hi, what is your APP_URL config? For subfolder installs and reverse proxy installs it is important to set LEAN_APP_URL to the URL you are using including protocol. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. Leantime now uses Laravel's/Symfony's default request classes and so they may need some of those for proper host identification and I believe those classes use the FORWARDED-HOST header to compare hostnames. Couple things I would try: In your Leantime nginx we can do a little clean up: |
Beta Was this translation helpful? Give feedback.
-
|
Can confirm the redirect error is gone when upgrading from v3.2.1 to v3.5.7. |
Beta Was this translation helpful? Give feedback.

Can confirm the redirect error is gone when upgrading from v3.2.1 to v3.5.7.