dunglas / dunglas/frankenphp-queue

[Feature request] site block workers

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
59
Forks
0
PR merge metrics
No merged PRs in 30d

Description

It would be nice to define these inside a `php_server` block.

```Caddyfile
one.example.com {
root /path/to/app/public
php_server {
root /path/to/app/public
env APP_ENV one
worker worker.php # inherits APP_ENV one
queue_worker queue_worker.php # inherits APP_ENV one
}
}
```

Which also means that the global directive's name shouldn't be prefixed with `m#`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.