Skip to content

Expose an application

This guide will show you how to expose your application to the correct audience by using an ingress.

Select audience

Select the correct audience from the available domains in your environment.

Define ingress

Specify the desired hostname for your application in the application manifest with .spec.ingresses[]:

.nais/app.yaml
apiVersion: nais.io/v1alpha1
kind: Application
spec:
  ingresses:
    - https://<MY-SUBDOMAIN>.<ENVIRONMENT-DOMAIN>

Specific paths

You can optionally specify a path for each individual ingress to only expose a subset of your application.