[GH-ISSUE #614] Koel on a multi-server environment #438

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

Originally created by @ShenZhouHong on GitHub (Jun 18, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/614

How would koel be installed on a multi-server environment? As it requires node, typically node applications are installed with the following setup:

+-------+          +--------+          +---------+
| Nginx |          |        |          |         |
|Reverse| <------> | Nodejs | <------> |  Mysql  |
| Proxy |          |        |          |         |
+-------+          +--------+          +---------+

However, koel requires php as well - which makes the matter more confusing. I've never used laravel before, but it looks like it requires a webserver to work.

How would one install koel on a multi-server setup? Do you install it on the "backend" side, behind the virtual network and proxy things using nginx? How do you do that?

Some pseudocode would be much appreciated, as I'm trying to set it up this way. If I can solve this issue, I would graciously make a pull request to the documentation, and document the procedures for a multi-server setup. Thank you!

Originally created by @ShenZhouHong on GitHub (Jun 18, 2017). Original GitHub issue: https://github.com/koel/koel/issues/614 How would koel be installed on a multi-server environment? As it requires node, typically node applications are installed with the following setup: ``` +-------+ +--------+ +---------+ | Nginx | | | | | |Reverse| <------> | Nodejs | <------> | Mysql | | Proxy | | | | | +-------+ +--------+ +---------+ ``` However, koel requires php as well - which makes the matter more confusing. I've never used laravel before, but it looks like it requires a webserver to work. How would one install koel on a multi-server setup? Do you install it on the "backend" side, behind the virtual network and proxy things using nginx? How do you do that? Some pseudocode would be much appreciated, as I'm trying to set it up this way. If I can solve this issue, I would graciously make a pull request to the documentation, and document the procedures for a multi-server setup. Thank you!
kerem closed this issue 2026-02-26 02:33:13 +03:00
Author
Owner

@phanan commented on GitHub (Jun 18, 2017):

Do you install it on the "backend" side, behind the virtual network and proxy things using nginx?

Yep. It's actually what my setup looks like. After installing PHP, basically you have two choices:

  • Configure nginx to run PHP with PHP-FPM, or
  • Install Apache and use nginx to proxy it.

Both should be fairly straightforward, and you'll find a lot of tutorials online tailored for Laravel itself. Good luck!

<!-- gh-comment-id:309278000 --> @phanan commented on GitHub (Jun 18, 2017): > Do you install it on the "backend" side, behind the virtual network and proxy things using nginx? Yep. It's actually what my setup looks like. After installing PHP, basically you have two choices: - Configure nginx to run PHP with PHP-FPM, or - Install Apache and use nginx to proxy it. Both should be fairly straightforward, and you'll find a lot of tutorials online tailored for Laravel itself. Good luck!
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#438
No description provided.