|
| 1 | +// This file was automatically added by edgio init. |
| 2 | +// You should commit this file to source control. |
| 3 | +// Learn more about this file at https://docs.edg.io/guides/edgio_config |
| 4 | +const { join } = require('path'); |
| 5 | + |
| 6 | +module.exports = { |
| 7 | + connector: '@edgio/astro', |
| 8 | + |
| 9 | + // The name of the site in Edgio to which this app should be deployed. |
| 10 | + // name: 'my-site-name', |
| 11 | + |
| 12 | + // The name of the organization in Edgio to which this app should be deployed. |
| 13 | + // organization: 'my-organization-name', |
| 14 | + |
| 15 | + // Overrides the default path to the routes file. The path should be relative to the root of your app. |
| 16 | + // routes: 'routes.js', |
| 17 | + |
| 18 | + astro: { |
| 19 | + // The path of the standalone server that runs Astro SSR |
| 20 | + // The dependencies for this file are automatically bundled |
| 21 | + appPath: join('dist', 'server', 'entry.mjs'), |
| 22 | + }, |
| 23 | + |
| 24 | + // When set to true or omitted entirely, Edgio includes the deployment number in the cache key, |
| 25 | + // effectively purging the cache each time you deploy. |
| 26 | + // purgeCacheOnDeploy: false, |
| 27 | + |
| 28 | + // If you need to proxy some URLs to an origin instead of your Next.js app, you can configure the origins here: |
| 29 | + // origins: [ |
| 30 | + // { |
| 31 | + // // The name of the backend origin |
| 32 | + // name: "origin", |
| 33 | + // |
| 34 | + // // When provided, the following value will be sent as the host header when connecting to the origin. |
| 35 | + // // If omitted, the host header from the browser will be forwarded to the origin. |
| 36 | + // override_host_header: "test-origin.edgio.net", |
| 37 | + // |
| 38 | + // // The list of backend hosts |
| 39 | + // hosts: [ |
| 40 | + // { |
| 41 | + // // The domain name or IP address of the origin server |
| 42 | + // location: "test-origin.edgio.net" |
| 43 | + // } |
| 44 | + // ] |
| 45 | + // } |
| 46 | + // ], |
| 47 | + |
| 48 | + // Options for hosting serverless functions on Edgio |
| 49 | + // serverless: { |
| 50 | + // // Set to true to include all packages listed in the dependencies property of package.json when deploying to Edgio. |
| 51 | + // // This option generally isn't needed as Edgio automatically includes all modules imported by your code in the bundle that |
| 52 | + // // is uploaded during deployment |
| 53 | + // // includeNodeModules: true, |
| 54 | + // |
| 55 | + // // Include additional paths that are dynamically loaded by your app at runtime here when building the serverless bundle. |
| 56 | + // // include: ['views/**/*'], |
| 57 | + // }, |
| 58 | + |
| 59 | + // The maximum number of URLs that will be concurrently prerendered during deployment when static prerendering is enabled. |
| 60 | + // Defaults to 200, which is the maximum allowed value. |
| 61 | + // prerenderConcurrency: 200, |
| 62 | + |
| 63 | + // A list of glob patterns identifying which prerenderConcurrency source files should be uploaded when running edgio deploy --includeSources. |
| 64 | + // This option is primarily used to share source code with Edgio support personnel for the purpose of debugging. If omitted, |
| 65 | + // edgio deploy --includeSources will result in all files which are not gitignored being uploaded to Edgio. |
| 66 | + // |
| 67 | + // sources : [ |
| 68 | + // '**/*', // include all files |
| 69 | + // '!(**/secrets/**/*)', // except everything in the secrets directory |
| 70 | + // ], |
| 71 | +}; |
0 commit comments