diff --git a/docs/providers/index.mdx b/docs/providers/index.mdx index 3d9014f65..91b1605f5 100644 --- a/docs/providers/index.mdx +++ b/docs/providers/index.mdx @@ -40,6 +40,7 @@ Currently, both the Pulumi and Terraform providers use the same underlying cloud | [Batch](/batch) | [AWS Batch](/providers/mappings/aws/batch) | Coming soon | [GCP Batch](/providers/mappings/gcp/batch) | Custom | | [Schedules](/schedules) | [CloudWatch Event Bridge](/providers/mappings/aws/schedules) | [Dapr Binding](/providers/mappings/azure/schedules) | [Cloud Scheduler](/providers/mappings/gcp/schedules) | Custom | | [Websockets](/websockets) | [API Gateway](/providers/mappings/aws/websockets) | Not implemented | Not implemented | Custom | +| [Websites](/websites) | [AWS Cloudfront](/providers/mappings/aws/websites) | [Front Door](/providers/mappings/azure/websites) | Not implemented | Custom | | [Storage](/storage#buckets) | [S3](/providers/mappings/aws/storage) | [Blob Storage](/providers/mappings/azure/storage) | [Cloud Storage](/providers/mappings/gcp/storage) | SeaweedFS | | [Key Value Stores](/keyvalue) | [DynamoDB](/providers/mappings/aws/keyvalue) | [Table Storage](/providers/mappings/azure/keyvalue) | [FireStore](/providers/mappings/gcp/keyvalue) | BoltDB | | [SQL Databases](/sql) | [RDS](/providers/mappings/aws/sql) | [Azure Database](/providers/mappings/azure/sql) | [Cloud SQL](/providers/mappings/gcp/sql) | Docker | diff --git a/docs/providers/mappings/azure/websites.mdx b/docs/providers/mappings/azure/websites.mdx index 4e4ecff8f..4a94fcd2c 100644 --- a/docs/providers/mappings/azure/websites.mdx +++ b/docs/providers/mappings/azure/websites.mdx @@ -10,14 +10,15 @@ Nitric Websites are deployed to Azure using [Azure Blob Storage](https://azure.m The following resources are created when deploying Websites to Azure: -- Blob Storage Account with Static Website -- Front Door Endpoint (with Front Door Classic) -- Delivery Rules for API rewrites +- Blob Storage Account for each Static Website +- Front Door Endpoint (with Front Door Standard) +- Delivery Rules for API and Subsite rewrites ## Deployment -During deployment the Nitric CLI creates a storage account for your website assets and a Front Door distribution to serve them: +During deployment the Nitric CLI creates a storage account for each website's assets and a Front Door distribution to serve them: -- The declared website is created in Blob Storage +- Each declared website is deployed to a separate Azure Storage account +- Each website is deployed to a `$web` container within the storage account - A Front Door endpoint is created to serve your website and rewrite all APIs to `/api/{apiName}` using Delivery Rules -- Cache invalidation is automatic based on changed files +- Cache invalidation is triggered when files have changed, this can also be skipped within your stack configuration diff --git a/docs/reference/preview-features/index.mdx b/docs/reference/preview-features/index.mdx index 7743d8b12..250bc9a91 100644 --- a/docs/reference/preview-features/index.mdx +++ b/docs/reference/preview-features/index.mdx @@ -17,7 +17,7 @@ Each preview feature will have its own documentation page, which will include in | [docker-providers](/providers/custom/docker) | CLI v1.39.0 | [feedback](https://github.com/nitrictech/nitric/issues/605) | | [sql-databases](/sql) | CLI v1.42.0
AWS Provider v1.6.0
Azure Provider v1.9.0
AWS Terraform Provider v1.8.0 | [feedback](https://github.com/nitrictech/nitric/issues/684) | | [batch-services](/batch) | CLI v1.54.0
AWS Provider v1.14.0
GCP Provider v1.14.0 | [feedback](https://github.com/nitrictech/nitric/issues/685) | -| [websites](/websites) | CLI v1.58.0
AWS Provider v1.18.0
Azure Provider v1.18.0 | [feedback](https://github.com/nitrictech/nitric/issues/748) | +| [websites](/websites) | CLI v1.58.0
AWS Provider v1.18.0
Azure Provider v1.19.4 | [feedback](https://github.com/nitrictech/nitric/issues/748) | ## Released Preview Features diff --git a/src/config/index.ts b/src/config/index.ts index b28c59d3a..2d3cfebb3 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -296,6 +296,10 @@ export const navigation: NavEntry[] = [ title: 'Websockets', href: '/providers/mappings/aws/websockets', }, + { + title: 'Websites', + href: '/providers/mappings/aws/websites', + }, { title: 'Storage', href: '/providers/mappings/aws/storage', @@ -333,6 +337,10 @@ export const navigation: NavEntry[] = [ title: 'Schedules', href: '/providers/mappings/azure/schedules', }, + { + title: 'Websites', + href: '/providers/mappings/azure/websites', + }, { title: 'Storage', href: '/providers/mappings/azure/storage',