[GH-ISSUE #1674] Koel Doesn't let me login after reverse proxy #913

Closed
opened 2026-02-26 02:34:37 +03:00 by kerem · 3 comments
Owner

Originally created by @RitZz48 on GitHub (Apr 29, 2023).
Original GitHub issue: https://github.com/koel/koel/issues/1674

So, I am using the docker version of Koel. It works fine as expected except a main key difference.

When I try to forward koel through reverse proxy and try to access it from my domain, I can't sign in at all. I get a red frame around the login box.

When I check the browser console I get the following log.

image

Originally created by @RitZz48 on GitHub (Apr 29, 2023). Original GitHub issue: https://github.com/koel/koel/issues/1674 So, I am using the docker version of Koel. It works fine as expected except a main key difference. When I try to forward koel through reverse proxy and try to access it from my domain, I can't sign in at all. I get a red frame around the login box. When I check the browser console I get the following log. ![image](https://user-images.githubusercontent.com/102799834/235281452-46b047af-c443-4bd7-98c1-5029f16f3996.png)
kerem closed this issue 2026-02-26 02:34:37 +03:00
Author
Owner

@SketchNI commented on GitHub (Apr 30, 2023):

Make sure the APP_URL in the .env file contains https:// and not just http.

<!-- gh-comment-id:1528910742 --> @SketchNI commented on GitHub (Apr 30, 2023): Make sure the `APP_URL` in the `.env` file contains `https://` and not just `http`.
Author
Owner

@Dhs92 commented on GitHub (May 9, 2023):

Also make sure you set FORCE_HTTPS to true

<!-- gh-comment-id:1540983652 --> @Dhs92 commented on GitHub (May 9, 2023): Also make sure you set FORCE_HTTPS to true
Author
Owner

@kondratovbr commented on GitHub (Sep 22, 2023):

This is the fix needed to make it work on my end:
https://github.com/koel/koel/pull/1706

@phanan I would appreciate it being merged.

<!-- gh-comment-id:1731213043 --> @kondratovbr commented on GitHub (Sep 22, 2023): This is the fix needed to make it work on my end: https://github.com/koel/koel/pull/1706 @phanan I would appreciate it being merged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#913
No description provided.