Replies: 7 comments 12 replies
-
Did you try to set the app url in the config file? That is probably where I would start. |
Beta Was this translation helpful? Give feedback.
-
When I leave When I set into
And also |
Beta Was this translation helpful? Give feedback.
-
Can you try to set it including the protocol? http(s)://leantime.domain.com
My guess is that the infinite redirect is happening because of a http to
https redirect.
…On Wed, Feb 16, 2022 at 11:13 AM Nuc1eoN ***@***.***> wrote:
When I leave appUrl emtpy my browser shows ERR_TOO_MANY_REDIRECTS when
entering the url leantime.domain.com/install/ in the browser.
When I set into $appUrl = "leantime.domain.com" my browser shows this
infinitely in the url bar:
https://leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/.......................
And also ERR_TOO_MANY_REDIRECTS as the error message.
—
Reply to this email directly, view it on GitHub
<#624 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFWCX6AEWGOWGKKXWQDU3PEL3ANCNFSM5OKFPSCA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I see. I didn't realize caddy didn't read graces files. Basically you would
have to take the htaccess redirect rules and create caddy equivalents. I am
looking through the syntax to see how hard that would be
…On Mon, Feb 21, 2022, 8:21 PM Nuc1eoN ***@***.***> wrote:
Hi @marcelfolaron <https://github.com/marcelfolaron> thank you for
comming back to me.
I don't know what happened there. The error remains ERR_TOO_MANY_REDIRECTS
(I dont know why the ssl error happened but its gone).
To summarize:
with appUrl=https://leantime.domain.com the browser goes to
https://leantimedomain.com/install but shows ERR_TOO_MANY_REDIRECTS.
with appUrl=leantime.domain.com the browsers url bar shows
https://leantime.domain.com/install/leantime.domain.com/install/leantime.domain.com/install/...
.. infinitely also with the error ERR_TOO_MANY_REDIRECTS
Btw caddy handles ssl and certificates automatically.
—
Reply to this email directly, view it on GitHub
<#624 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFXT4YIRJCAZVIONME3U4LQK5ANCNFSM5OKFPSCA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I can mitigate general problems with the following Caddyfile, but it is not perfect:
✅ Remarks:
If some could continue where I left off, that would be great. |
Beta Was this translation helpful? Give feedback.
-
This is awesome!
#2 is solved in master. Just needs to be released. I promise I am working
on it.
#1 which parameter is not handled? Do you get a 404 or is there an error?
…On Tue, Mar 22, 2022, 3:36 PM Nuc1eoN ***@***.***> wrote:
Thanks a lot @sudOnur <https://github.com/sudOnur> !!
@marcelfolaron <https://github.com/marcelfolaron> Would you be able to
help us out on the last mile?
—
Reply to this email directly, view it on GitHub
<#624 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFUYLPIWVHAZ73JTSLDVBIOKVANCNFSM5OKFPSCA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
A late reply, but I've been testing and working on getting Leantime to work properly behind Caddy, and this is the configuration file I was able to build which works:
The important part here is that the query string needs to be passed through, once I did that all uploads show up. This also fixes the modals. |
Beta Was this translation helpful? Give feedback.
-
I am trying to set up Leantime behind caddy (an nginx alternative). I am not using docker, but the normal packaged version.
However for some reason I am getting infinite redirects when I am entering
leantime.mydomain.com/install
.I am getting an error like this:
ERR_TOO_MANY_REDIRECTS
I had asked in the caddy community but they said the fault is in the configuration of the application, not caddy itself.
Here is somebody describing a similar issue. Not sure if it is the same problem, but I'm still leaving it here. (See first answer)
Any hint what might be wrong? I could not find anything in the leantime docs.
PS: Here is my caddy config for reference (not finished porting, but it should not have the infinite redirects):
EDIT: Could it be due to the fact that caddy automatically employs ssl?
Beta Was this translation helpful? Give feedback.
All reactions