{
	{$CADDY_GLOBAL_OPTIONS}

	frankenphp {
		{$FRANKENPHP_CONFIG}
	}
}

{$SERVER_NAME:localhost} {
	log

	root * /app/public

	encode zstd br gzip

	mercure {
		transport_url    {$MERCURE_TRANSPORT_URL:bolt:///data/mercure.db}
		publisher_jwt    {$MERCURE_JWT_SECRET} HS256
		subscriber_jwt   {$MERCURE_JWT_SECRET} HS256
		anonymous
		subscriptions
	}

	php_server
}
