forked from edgio-docs/edgio-nextjs-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedgio.config.js
24 lines (24 loc) · 994 Bytes
/
edgio.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
// This file was automatically added by edgio init.
// You should commit this file to source control.
// Learn more about this file at https://docs.edg.io/guides/edgio_config
module.exports = {
connector: '@edgio/next',
routes: './edgio/routes.js',
backends: {
// Define a domain or IP address to proxy as a backend
// More on: https://docs.edg.io/guides/edgio_config#backends
api: {
domainOrIp: 'layer0-docs-layer0-ecommmerce-api-example-default.layer0-limelight.link',
hostHeader: 'layer0-docs-layer0-ecommmerce-api-example-default.layer0-limelight.link',
// Disable backend SSL certificate security check, read more on:
// https://docs.edg.io/guides/edgio_config#:~:text=browser%20is%20used.-,disableCheckCert,-Boolean
disableCheckCert: true,
},
// More on: https://docs.edg.io/guides/image_optimization
image: {
domainOrIp: 'opt.moovweb.net',
hostHeader: 'opt.moovweb.net',
disableCheckCert: true,
},
},
}