Skip to content

What does a pure worker mode Caddyfile look like #890

Closed Answered by AlliBalliBaba
AlliBalliBaba asked this question in Q&A
Discussion options

You must be logged in to vote

Never mind, I figured it out. If anyone is looking for the same thing, the route directive in the Caddyfile would look something like this:

route {
        root * "{$APP_PUBLIC_PATH}"
        encode zstd br gzip
        try_files frankenphp-worker.php
        php
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AlliBalliBaba
Comment options

AlliBalliBaba Aug 4, 2024
Collaborator Author

Answer selected by AlliBalliBaba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant