Replies: 1 comment 2 replies
-
|
FrankenPHP is built on top of Caddy, which natively supports running multiple sites out of the box. You don't have to use Docker to achieve this—FrankenPHP can be installed directly either by compiling it from source or via the provided .deb or .rpm packages. Once installed, you can define multiple sites in the Caddyfile like so: You can also configure the global frankenphp worker block at the top of the Caddyfile to reference workers used by the different sites if needed. If you're using Docker, it should be possible to adapt the setup similarly—by extending the Docker image and mounting a custom Caddyfile that includes multiple site blocks. Finally, if you'd rather use a reverse proxy in front of FrankenPHP, Caddy itself can act as a very capable reverse proxy as well! Note: Caddy is responsible for handling HTTPS certificates (including automatic renewal) and this is the reason FrankenPHP benefits from built-in HTTPS support. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was just wondering this scenario:
So I would reckon that in this scenatio I cannot use FrankenPHP's automatic HTTPS certificates generation and renewal, right?
Beta Was this translation helpful? Give feedback.
All reactions