From 3f815a6e4825d1e71a94f942018c4f668c34bb77 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Thu, 23 Feb 2023 12:58:58 +0100 Subject: [PATCH] Simplify the Laravel config in docs following https://github.com/getlift/lift/pull/306 --- docs/frameworks/laravel.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/docs/frameworks/laravel.md b/docs/frameworks/laravel.md index 5a8fc976a..f4da78926 100644 --- a/docs/frameworks/laravel.md +++ b/docs/frameworks/laravel.md @@ -164,27 +164,8 @@ constructs: '/favicon.ico': public/favicon.ico '/robots.txt': public/robots.txt # add here any file or directory that needs to be served from S3 - # Laravel uses some headers that are not in CloudFront's default whitelist. - # To add any, we need to list all accepted headers to pass through. - # https://github.com/getlift/lift/blob/master/docs/server-side-website.md#forwarded-headers - forwardedHeaders: - - Accept - - Accept-Language - - Content-Type - - Origin - - Referer - - User-Agent - - X-Forwarded-Host - - X-Requested-With - # Laravel Framework Headers - - X-Csrf-Token - # Other Headers (e.g. Livewire, Laravel Nova), uncomment based on your needs - # - X-Livewire - # - X-Inertia ``` -> Note: the limit of forwardedHeaders for AWS is set to 10 - Before deploying, compile your assets using Laravel Mix. ```bash