mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #921] koel behind nginx proxy #596
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#596
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bugsyb on GitHub (Feb 24, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/921
@phanan many thanks for great piece of software, amazing look and feel.
Problem I'm facing is I can't get it working behind nginx proxy.
Koel is in docker (https://hub.docker.com/r/binhex/arch-koel/) and works fine when accessed on exposed port (8050) in my case.
I've frontend set up for multiple apps on same system and use similar nginx reverse proxy setup.
For whatever reason I couldn't get it working for Koel.
Apps often need to have set base url and thought in case of Koel it is:
.env
APP_URL=http://localhost
I did set it to http://myhost.vpn/koel
At the same time nginx part of config looks like this (typical):
I've also tried with variation of parameters:
Maybe I've just missed the right combination of parameters? Sorry, I'm not expert in nginx and Laravel apps.
Would be great to have examples in docs. Majority of them is about Apache, but it proves that Koel should be friendly with reverse proxying.
Thanks for help.
Other sources I've checked already:
https://github.com/NairVish/koel-docker
https://gist.github.com/simonsmiley/5fb92bc0086ed06e1e8b74547c02d421
https://github.com/phanan/koel/issues/255
https://github.com/phanan/koel/issues/74
https://github.com/vmario89/koel-music-setup
@xordspar0 commented on GitHub (Apr 1, 2019):
What exactly doesn't work? It doesn't look like you're accessing Nginx via HTTPS, so it's probably not the same problem as #255.
Just a guess, but are you getting a 502 Bad Gateway when you try to access koel in your browser?
@phanan commented on GitHub (May 18, 2019):
Closing via
488854127a.