Skip to content

Commit

Permalink
feat(vapor): use www as the root domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonnx committed Aug 11, 2023
1 parent 097a096 commit f2d96bf
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions config/vapor.php
@@ -0,0 +1,46 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| Redirect "www" To The Root Domain
|--------------------------------------------------------------------------
|
| When this option is enabled, Vapor will redirect requests to the "www"
| subdomain to the application's root domain. When this option is not
| enabled, Vapor redirects your root domain to the "www" subdomain.
|
*/

'redirect_to_root' => false,

/*
|--------------------------------------------------------------------------
| Redirect robots.txt
|--------------------------------------------------------------------------
|
| When this option is enabled, Vapor will redirect requests for your
| application's "robots.txt" file to the location of the S3 asset
| bucket or CloudFront's asset URL instead of serving directly.
|
*/

'redirect_robots_txt' => true,

/*
|--------------------------------------------------------------------------
| Servable Assets
|--------------------------------------------------------------------------
|
| Here you can configure list of public assets that should be servable
| from your application's domain instead of only being servable via
| the public S3 "asset" bucket or the AWS CloudFront CDN network.
|
*/

'serve_assets' => [
//
],

];

0 comments on commit f2d96bf

Please sign in to comment.