You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,14 @@ Hi,
34
34
35
35
This is {person} from {company}. I would like to configure a proxy for the following source(s):
36
36
37
-
* Source {link to source in Segment} with source ID {source id}
38
-
* Source {link to source in Segment} with source ID {source id}
37
+
* Source URL with Source ID
38
+
* Source URL with Source ID
39
39
```
40
40
41
-
Double-check the source link and the Source ID.
41
+
-**Source URL**: link to the source in your Segment workspace (for example, `https://app.segment.com/<your_slug>/sources/<source>/overview`)
42
+
-**Source ID**: navigate to **API Keys** on the left-hand side of the source **Settings** and provide the Source ID
43
+
44
+
Double-check the Source URL and the Source ID.
42
45
43
46
A Segment Customer Success team member will respond that they have enabled this option for your account. When you receive this confirmation, open the source in your workspace, and navigate to Settings > Analytics.js. Update the **Host Address** setting from `api.segment.io/v1` to `[your proxy host]/v1`.
44
47
@@ -50,7 +53,7 @@ A Segment Customer Success team member will respond that they have enabled this
50
53
These instructions refer to Amazon CloudFront, but apply more generally to other providers as well.
51
54
52
55
### CDN Proxy
53
-
To set up your CDN Proxy:
56
+
To set up your CDN Proxy:
54
57
1. Log in to the AWS console and navigate to CloudFront.
55
58
2. Click **Create Distribution**.
56
59
3. Configure the distribution settings. In the Origin section, update the following values:
@@ -71,11 +74,11 @@ Take note of the Domain Name for use in the next step.
71
74
To add a CNAME record for the Segment proxy to your organizations DNS settings:
72
75
1. Use a name that makes it clear what you are using the subdomain for, for example `analytics.mysite.com`.
73
76
2. Go to your domain registrar and add a new record to your DNS of type "CNAME".
74
-
3. Configure these values:
77
+
3. Configure these values:
75
78
-**Name**: `<subdomain_name>.yourdomain.com`
76
79
-**Value**: The Domain Name value from CloudFront
77
-
4. Save your record. This might take some time to take effect, depending on your TTL settings.
78
-
5. Make a `curl` request to your domain to verify that the proxy works.
80
+
4. Save your record. This might take some time to take effect, depending on your TTL settings.
81
+
5. Make a `curl` request to your domain to verify that the proxy works.
79
82
80
83
81
84
@@ -97,5 +100,3 @@ To add a CNAME record to your DNS settings:
97
100
-**Value**: Tracking API CloudFront Distribution Domain Name
98
101
3. Save your record. This might take some time to take effect, depending on your TTL settings.
99
102
4. Run `curl` on your domain to check if the proxy is working correctly.
0 commit comments