mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #711] 404 /api/me #503
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#503
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 @Tchoupinax on GitHub (Jan 13, 2018).
Original GitHub issue: https://github.com/koel/koel/issues/711
Hello,
I can log in on Koel because the request return 404.
php artisan servebut request were with the addresshttp://localhost:8000although i changed APP_URL in.envError is :
It feels working at
http://demo.koel.phanan.net/My NGINX configuration is :
Any idea ?
Thank you
Regards,
@Tchoupinax commented on GitHub (Jan 13, 2018):
Hello,
Continue to testing... Local desktop this time.
Installing apache2 (I have nginx on my server). Try with
php artisan serve, it works well ! But when i tried with virtualhost, same thing : welcome page worls well but can log in because of /api/me is not found.Error:
Request URL:http://127.0.0.1/api/me Request Method:POST Status Code:404 Not FoundWhat i do not understand and that route are
/and/api/me,/is ok but not/api/me. What is the problem ?Regards,
(I can use it yet, but Koel seems very good ! Good job :) )
@gamerlv commented on GitHub (Jan 15, 2018):
To use Koel with nginx you need to be sure to have a rewrite in place to send all traffic to index.php.
The sample config you have provided is missing this rewrite.
You can find a recommended base nginx config in the repo:
github.com/phanan/koel@566145678a/nginx.conf.exampleSmall nginx tip, if you have
sslin alistenline you don't need thessl ondirective.@cf512 commented on GitHub (Jun 20, 2018):
gamerlv is right
I replaced:
with:
in /etc/nginx/sites-enabled/default and it fixed the same issue for me.