[GH-ISSUE #1716] something about FORCE_HTTPS #942

Closed
opened 2026-02-26 02:34:42 +03:00 by kerem · 1 comment
Owner

Originally created by @rustle123 on GitHub (Oct 17, 2023).
Original GitHub issue: https://github.com/koel/koel/issues/1716

Describe the bug
Not sure if it's a bug. There are two methods to access Koel

  1. domain with https protocol, e.g. https://koel.rustle.cc
  2. directly via ip:port, e.g. localhost:10000

I installed lastest koel by using docker, and with Nginx behind. What I want is accessing koel with both methods above. When I set FORCE_HTTPS = true and APP_URL=https://koel.rustle.cc, I can visit the website with method 1 but not method 2; when I set FORCE_HTTPS = false and APP_URL=http://koel.rustle.cc, I can visit the website with method 2 but not method 1.

So how can I access koel with both methods?
Thx

Originally created by @rustle123 on GitHub (Oct 17, 2023). Original GitHub issue: https://github.com/koel/koel/issues/1716 **Describe the bug** Not sure if it's a bug. There are two methods to access Koel 1. domain with https protocol, e.g. https://koel.rustle.cc 2. directly via ip:port, e.g. localhost:10000 I installed lastest koel by using docker, and with Nginx behind. What I want is accessing koel with both methods above. When I set `FORCE_HTTPS = true` and `APP_URL=https://koel.rustle.cc`, I can visit the website with method 1 but not method 2; when I set `FORCE_HTTPS = false` and `APP_URL=http://koel.rustle.cc`, I can visit the website with method 2 but not method 1. So how can I access koel with both methods? Thx
kerem closed this issue 2026-02-26 02:34:42 +03:00
Author
Owner

@phanan commented on GitHub (Dec 28, 2023):

I don't think this is a bug and you should always use method 1 if HTTPS is an option anyway.

<!-- gh-comment-id:1871116977 --> @phanan commented on GitHub (Dec 28, 2023): I don't think this is a bug and you should always use method 1 if HTTPS is an option anyway.
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#942
No description provided.