Replies: 2 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.
1 reply
-
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.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When we update an instance from 3.2.1 to 3.3.3 (using manual install/update) we lose access with the browser showing
ERR_TOO_MANY_REDIRECTS
error.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:
Internet - web server (nginx) - Leantime server (also running nginx)
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
ERR_TOO_MANY_REDIRECTS
upon updating to 3.3.3.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.
All reactions