File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php
2+
3+ return [
4+
5+ /*
6+ |--------------------------------------------------------------------------
7+ | Redirect "www" To The Root Domain
8+ |--------------------------------------------------------------------------
9+ |
10+ | When this option is enabled, Vapor will redirect requests to the "www"
11+ | subdomain to the application's root domain. When this option is not
12+ | enabled, Vapor redirects your root domain to the "www" subdomain.
13+ |
14+ */
15+
16+ 'redirect_to_root ' => false ,
17+
18+ /*
19+ |--------------------------------------------------------------------------
20+ | Redirect robots.txt
21+ |--------------------------------------------------------------------------
22+ |
23+ | When this option is enabled, Vapor will redirect requests for your
24+ | application's "robots.txt" file to the location of the S3 asset
25+ | bucket or CloudFront's asset URL instead of serving directly.
26+ |
27+ */
28+
29+ 'redirect_robots_txt ' => true ,
30+
31+ /*
32+ |--------------------------------------------------------------------------
33+ | Servable Assets
34+ |--------------------------------------------------------------------------
35+ |
36+ | Here you can configure list of public assets that should be servable
37+ | from your application's domain instead of only being servable via
38+ | the public S3 "asset" bucket or the AWS CloudFront CDN network.
39+ |
40+ */
41+
42+ 'serve_assets ' => [
43+ //
44+ ],
45+
46+ ];
You can’t perform that action at this time.
0 commit comments