You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Resources/doc/reference/configuration/proxy-client.rst
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -278,6 +278,7 @@ endpoint for testing purposes.
278
278
279
279
cloudfront
280
280
----------
281
+
Talking to AWS cloudfront requires the ``jean-beru/fos-http-cache-cloudfront`` library. You need to require this dependency before you can configure the ``cloudfront`` proxy client.
->thenInvalid('You can not set both cloudfront.client and cloudfront.configuration')
517
518
->end()
@@ -551,7 +552,7 @@ private function addProxyClientSection(ArrayNodeDefinition $rootNode)
551
552
552
553
if ('cloudfront' === $proxyName) {
553
554
if (!class_exists(CloudFront::class)) {
554
-
thrownewInvalidConfigurationException('Did you forget to install jean-beru/fos-http-cache-cloudfront ?');
555
+
thrownewInvalidConfigurationException('For the cloudfront proxy client, you need to install jean-beru/fos-http-cache-cloudfront. Class '.CloudFront::class.' does not exist.');
0 commit comments