Skip to content

Commit

Permalink
chore(docs): added functions to custom domains documentation (#2399)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Dec 4, 2023
1 parent f7c2148 commit 2a04bc9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/rich-queens-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@nhost/docs': patch
---

added functions to custom domains documentation
14 changes: 4 additions & 10 deletions docs/docs/platform/custom-domains.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,20 @@ Follow the instructions in the **Custom Domain** section of your project's setti

The first step is to add a CNAME record in your DNS provider for each of the services you want a custom domain for. You can find the instructions in the **dashboard** tab.

For Hasura, Auth, and PostgreSQL, custom domains are defined in the default `./nhost/config.toml` as follows:
For Hasura, Auth, Functions, and PostgreSQL, custom domains are defined in the default `./nhost/config.toml` as follows:

```
[hasura]
[hasura.resources.networking]
[[hasura.resources.networking.ingresses]]
fqdn = ['hasura.custom-domain.com']
[auth]
[auth.resources.networking]
[[auth.resources.networking.ingresses]]
fqdn = ['auth.custom-domain.com']
[postgres]
[postgres.resources.networking]
[[postgres.resources.networking.ingresses]]
fqdn = ['postgres.custom-domain.com']
[[functions.resources.networking.ingresses]]
fqdn = ['functions.custom-domain.com']
```

For Run services, typically in `nhost-service.toml` specific to the service:
Expand Down

1 comment on commit 2a04bc9

@vercel
Copy link

@vercel vercel bot commented on 2a04bc9 Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.