[GH-ISSUE #86] nginx.conf #60

Closed
opened 2026-02-26 02:31:58 +03:00 by kerem · 5 comments
Owner

Originally created by @emtudo on GitHub (Dec 16, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/86

The nginx the problem is if the guy is on a shared host it does not access the settings.

Originally created by @emtudo on GitHub (Dec 16, 2015). Original GitHub issue: https://github.com/koel/koel/issues/86 The nginx the problem is if the guy is on a shared host it does not access the settings.
kerem closed this issue 2026-02-26 02:31:58 +03:00
Author
Owner

@etopian commented on GitHub (Dec 16, 2015):

no way to fix this. if you can not create a custom nginx.conf file not much that can be done. use apache instead.

<!-- gh-comment-id:165271329 --> @etopian commented on GitHub (Dec 16, 2015): no way to fix this. if you can not create a custom nginx.conf file not much that can be done. use apache instead.
Author
Owner

@emtudo commented on GitHub (Dec 16, 2015):

I'm not problem with nginx, I suggested changing the way of security because I was told that things are this way they are, all the files before "public" because of shared server.

<!-- gh-comment-id:165278734 --> @emtudo commented on GitHub (Dec 16, 2015): I'm not problem with nginx, I suggested changing the way of security because I was told that things are this way they are, all the files before "public" because of shared server.
Author
Owner

@etopian commented on GitHub (Dec 16, 2015):

don't put the files under the web accessible folder. koel uses absolute paths to the file system, and streams the file either through apache or php. all you have to do is make sure the permissions are set properly so the web server can read them. they don't have to be in a path accessible by the web.

<!-- gh-comment-id:165290058 --> @etopian commented on GitHub (Dec 16, 2015): don't put the files under the web accessible folder. koel uses absolute paths to the file system, and streams the file either through apache or php. all you have to do is make sure the permissions are set properly so the web server can read them. they don't have to be in a path accessible by the web.
Author
Owner

@emtudo commented on GitHub (Dec 17, 2015):

I know!

To read https://github.com/phanan/koel/pull/43

<!-- gh-comment-id:165294995 --> @emtudo commented on GitHub (Dec 17, 2015): I know! To read https://github.com/phanan/koel/pull/43
Author
Owner

@phanan commented on GitHub (Dec 17, 2015):

You guys are fixing a problem that's not there.

The nginx the problem is if the guy is on a shared host it does not access the settings.

Every shared host that I know, if they use nginx, they use it as a proxy to Apache and has dot files protected. If they don't, just flee fast.

don't put the files under the web accessible folder.

I guess Apache's deny directive is for this very purpose.

Anyway, again, the folder structure is like that to serve those on a shared host, who cannot install above the public folder. I will not change it just because some of us (including me too) have total control of our servers.

<!-- gh-comment-id:165315603 --> @phanan commented on GitHub (Dec 17, 2015): You guys are fixing a problem that's not there. > The nginx the problem is if the guy is on a shared host it does not access the settings. Every shared host that I know, if they use nginx, they use it as a proxy to Apache and has dot files protected. If they don't, just flee fast. > don't put the files under the web accessible folder. I guess Apache's `deny` directive is for this very purpose. Anyway, again, the folder structure is like that to serve those on a shared host, who cannot install above the public folder. I will not change it just because some of us (including me too) have total control of our servers.
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#60
No description provided.