File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ title: "Cloudflare"
3
3
description : " Host documentation at a /docs subpath using Cloudflare Workers"
4
4
---
5
5
6
+ import Propagating from " /snippets/custom-subpath-propagating.mdx" ;
7
+
6
8
To host your documentation at a ` /docs ` subpath using Cloudflare, you will need to create and configure a Cloudflare Worker.
7
9
8
10
<Info >
@@ -57,8 +59,9 @@ async function handleRequest(request) {
57
59
}
58
60
```
59
61
60
- Select ` Deploy ` and wait for the changes to propagate (it can take up to a few
61
- hours).
62
+ Select ** Deploy** and wait for the changes to propagate.
63
+
64
+ <Propagating />
62
65
63
66
### Test your Worker
64
67
@@ -137,4 +140,6 @@ If you use Webflow to host your main site and want to serve Mintlify docs at `/d
137
140
}
138
141
}
139
142
```
140
- 5 . Select Deploy and wait for the changes to propagate, which can take up to a few hours.
143
+ 5 . Select ** Deploy** and wait for the changes to propagate.
144
+
145
+ <Propagating />
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ sidebarTitle: "AWS"
4
4
description : " Host documentation at a /docs subdirectory using AWS services"
5
5
---
6
6
7
+ import Propagating from " /snippets/custom-subpath-propagating.mdx" ;
8
+
7
9
## Create Cloudfront Distribution
8
10
9
11
Navigate to [ Cloudfront] ( https://aws.amazon.com/cloudfront ) inside the AWS console and click on ` Create distribution `
@@ -139,4 +141,6 @@ Click `Create records`.
139
141
You may need to remove the existing A record if one currently exists.
140
142
</Note >
141
143
142
- And voila! You should be able to have your documentation served at ` /docs ` for your primary domain.
144
+ And voila! Your documentation will be served at ` /docs ` for your primary domain.
145
+
146
+ <Propagating />
You can’t perform that action at this time.
0 commit comments