-
Notifications
You must be signed in to change notification settings - Fork 1
/
layer0.config.js
49 lines (40 loc) · 2.09 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
// This file was automatically added by layer0 deploy.
// You should commit this file to source control.
module.exports = {
backends: {
origin: {
// The domain name or IP address of the origin server
domainOrIp: "layer0-origin-docs.respct.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: "docs.respct.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,
},
},
// The name of the site in Layer0 to which which this app should be deployed.
name: "docs.respct.co",
// The name of the team in Layer0 to which which this app should be deployed.
team: "respct",
// 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 prendered 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
// ],
// 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,
};