Skip to content

Commit 48826c5

Browse files
committed
minor fixes
1 parent 9f4aa50 commit 48826c5

1 file changed

Lines changed: 35 additions & 10 deletions

File tree

self-hosting/govern/custom-domain.mdx

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,41 @@ This shows you all the variables that contain your current domain. You'll update
4343

4444
2. Find and update these environment variables with your new domain:
4545

46-
- `DOMAIN_NAME`
47-
- `SITE_ADDRESS`
48-
- `WEB_URL`
49-
- `CORS_ALLOWED_ORIGINS`
50-
51-
<Note>
52-
**Configuration requirements:**
53-
- Use the correct protocol (`http://` or `https://`) where required.
54-
- In `CORS_ALLOWED_ORIGINS`, separate multiple entries with commas and no spaces.
55-
</Note>
46+
- **DOMAIN_NAME**
47+
48+
Set this to your bare domain name without protocol:
49+
```env
50+
DOMAIN_NAME=plane.company.com
51+
```
52+
53+
Don't include `http://` or `https://` here, just the hostname.
54+
55+
- **SITE_ADDRESS**
56+
57+
Set this to your full domain URL:
58+
```env
59+
SITE_ADDRESS=https://plane.company.com
60+
```
61+
62+
Include the protocol (`https://` for SSL, `http://` if you haven't set up SSL yet).
63+
64+
- **WEB_URL**
65+
66+
This should match your SITE_ADDRESS:
67+
```env
68+
WEB_URL=https://plane.company.com
69+
```
70+
71+
Again, include the full protocol.
72+
73+
**CORS_ALLOWED_ORIGINS**
74+
75+
List all domains that should be allowed to make cross-origin requests to your Plane instance. This typically includes both HTTP and HTTPS versions of your domain:
76+
```env
77+
CORS_ALLOWED_ORIGINS=https://plane.company.com,http://plane.company.com
78+
```
79+
80+
Separate multiple entries with commas, no spaces. If you have multiple domains or subdomains that need access, add them all here.
5681

5782
## Restart Plane services
5883

0 commit comments

Comments
 (0)