Skip to content

Commit

Permalink
Merge pull request #1427 from brefphp/laravel-simpler-config
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli authored Feb 23, 2023
2 parents f907f39 + 3f815a6 commit 4669bbe
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions docs/frameworks/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4669bbe

Please sign in to comment.