Skip to content

Worker Caddyfile example not working #1373

@chrisgoldberg1

Description

@chrisgoldberg1
{
	frankenphp {
		worker /path/to/app/public/index.php <num>
		worker /path/to/other/public/index.php <num>
	}
}

app.example.com {
	root * /path/to/app/public
	php_server
}

other.example.com {
	root * /path/to/other/public
	php_server
}

also tried the lavarel demo one. No idea how to make the subdomain vhost to use the worker. Tried more than an hour to make it work. Moved on with ngx_php pretty straight forward

I copied it, made the paths but instead of accessing the worker it always brings "fileserver.(*FileServer).notFound. Turned on the Debug, worker waiting for requests but no chance that the worker is used. Documentation of frankenphp is very much docker based. Not everyone is a fan of docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions