Skip to content

Commit 54be8cf

Browse files
committed
changed api and indexer ingress to internal
1 parent d29d09d commit 54be8cf

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

deploy/aca/infra/app/api.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module app '../../../shared/host/container-app-upsert.bicep' = {
3333
containerCpuCoreCount: '1.0'
3434
containerMemory: '2.0Gi'
3535
targetPort: 8080
36+
external:false
3637
env: union(env, [
3738
{
3839
name: 'AZURE_CLIENT_ID'

deploy/aca/infra/app/indexer.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module app '../../../shared/host/container-app-upsert.bicep' = {
3131
containerCpuCoreCount: '1.0'
3232
containerMemory: '2.0Gi'
3333
targetPort: 8080
34+
external:false
3435
env: union(env, [
3536
{
3637
name: 'AZURE_CLIENT_ID'

docs/aca/README-ACA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ To see any exceptions and server errors, navigate to the "Investigate -> Failure
268268

269269
### Enabling authentication
270270

271-
By default, the deployed apps on ACA will have no authentication or access restrictions enabled, meaning anyone with routable network access to the web app can chat with your indexed data.You can require authentication to your Microsoft Entra by following the [Add app authentication](https://learn.microsoft.com/en-us/azure/container-apps/authentication) tutorial and set it up against the deployed web and api apps.
272-
Furthermore in order to let Web app to access the Api app be sure to configure native client access with [user_impersonation ](https://learn.microsoft.com/en-us/azure/container-apps/authentication-azure-active-directory#native-client-application)
271+
By default, the web app on ACA will have no authentication or access restrictions enabled, meaning anyone with routable network access to the web app can chat with your indexed data.You can require authentication to your Microsoft Entra by following the [Add app authentication](https://learn.microsoft.com/en-us/azure/container-apps/authentication) tutorial and set it up against the deployed web app.
272+
273273

274274
To then limit access to a specific set of users or groups, you can follow the steps from [Restrict your Microsoft Entra app to a set of users](https://learn.microsoft.com/entra/identity-platform/howto-restrict-your-app-to-a-set-of-users) by changing "Assignment Required?" option under the Enterprise Application, and then assigning users/groups access. Users not granted explicit access will receive the error message -AADSTS50105: Your administrator has configured the application <app_name> to block users
275275

0 commit comments

Comments
 (0)