generated from itissandeep98/next-layer0-tailwind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layer0.config.js
62 lines (54 loc) · 2.85 KB
/
layer0.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// This file was automatically added by layer0 init.
// You should commit this file to source control.
// Learn more about this file at https://docs.layer0.co/guides/layer0_config
module.exports = {
connector: "@layer0/next",
// The name of the site in Layer0 to which this app should be deployed.
name: "locus.itissandeep.co",
// The name of the team in Layer0 to which this app should be deployed.
// team: 'my-team-name',
backends: {
origin: {
// // The domain name or IP address of the origin server
domainOrIp: "layer0-origin.locus.itissandeep.co",
//
// // When provided, the following value will be sent as the host header when connecting to the origin.
// // If omitted, the host header from the browser will be forwarded to the origin.
hostHeader: "locus.itissandeep.co",
//
// // Uncomment the following line if TLS is not set up properly on the origin domain and you want to ignore TLS errors
// // disableCheckCert: true,
//
// // Overrides the default ports (80 for http and 443 for https) and instead use a specific port
// // when connecting to the origin
// // port: 1337,
},
},
// Overrides the default path to the routes file. The path should be relative to the root of your app.
// routes: 'routes.js',
// The maximum number of URLs that will be concurrently prerendered during deployment when static prerendering is enabled.
// Defaults to 200, which is the maximum allowed value.
// prerenderConcurrency: 200,
// A list of glob patterns identifying which source files should be uploaded when running layer0 deploy --includeSources.
// This option is primarily used to share source code with Layer0 support personnel for the purpose of debugging. If omitted,
// layer0 deploy --includeSources will result in all files which are not gitignored being uploaded to Layer0.
//
// sources : [
// '**/*', // include all files
// '!(**/secrets/**/*)', // except everything in the secrets directory
// ],
// Allows you to include additional resources in the bundle that is deployed to Layer0’s serverless JS workers.
// Keys are globs, value can be a boolean or string. This is typically used to ensure that resources
// that need to be dynamically required at runtime such as build manifests for server-side rendering
// or other config files are present in the cloud.
//
// includeFiles: {
// 'lang/**/*': true, // Just includes the specified files
// 'content/**/*': 'another/dir/in/layer0/lambda', // Copies the files into specific directory within Layer0 build
// },
// Set to true to include all packages listed in the dependencies property of package.json when deploying to Layer0.
// This option generally isn't needed as Layer0 automatically includes all modules imported by your code in the bundle that
// is uploaded during deployment
//
// includeNodeModules: true,
};