Skip to content

Commit 3770245

Browse files
Update fastly.md
1 parent 55ea05f commit 3770245

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

docs/proxy/guides/fastly.md

+22-24
Original file line numberDiff line numberDiff line change
@@ -10,40 +10,38 @@ You can use Fastly to proxy your Plausible Analytics requests. Here's the step-b
1010

1111
First, set up a Plausible backend:
1212

13-
* Go to your Fastly service configuration
14-
* Click on "**Origins**" or "**Hosts**"
15-
* Click "**Create a host**"
13+
1. Go to your Fastly service configuration
14+
2. Click on "**Origins**" or "**Hosts**"
15+
3. Click "**Create a host**"
16+
4. Fill in:
1617

17-
* Fill in:
18+
* Name: `Plausible`
19+
* Address: `plausible.io`
20+
* Port: `443`
21+
* Enable SSL: `Checked`
22+
* Verify certificate: `Checked`
23+
* SNI hostname: `plausible.io`
1824

19-
- Name: `Plausible`
20-
- Address: `plausible.io`
21-
- Port: `443`
22-
- Enable SSL: `Checked`
23-
- Verify certificate: `Checked`
24-
- SNI hostname: `plausible.io`
25+
5. Set the timeouts:
2526

26-
* Set the timeouts:
27+
* First byte timeout: `15000` (15 seconds)
28+
* Between bytes timeout: `10000` (10 seconds)
2729

28-
- First byte timeout: `15000` (15 seconds)
29-
- Between bytes timeout: `10000` (10 seconds)
30-
31-
* Save
30+
6. Save
3231

3332
## Step 2: Create VCL Snippet
3433

3534
Snippet 1: Plausible Request Routing (`vcl_recv`)
3635

37-
* Go to "**VCL Snippets**"
38-
* Click "**Create snippet**"
39-
40-
* Fill in:
36+
1. Go to "**VCL Snippets**"
37+
2. Click "**Create snippet**"
38+
3. Fill in:
4139

42-
- Name: `Plausible Request Routing`
43-
- Type: `recv (vcl_recv)`
44-
- Priority: `100` (or any number that ensures this runs before your other recv snippets)
40+
* Name: `Plausible Request Routing`
41+
* Type: `recv (vcl_recv)`
42+
* Priority: `100` (or any number that ensures this runs before your other recv snippets)
4543

46-
* Add this VCL (Varnish Configuration Language):
44+
4. Add this VCL (Varnish Configuration Language):
4745

4846
```
4947
vcl
@@ -63,7 +61,7 @@ return(pass);
6361
}
6462
```
6563

66-
* Save
64+
5. Save
6765

6866
## Step 3: Integrate a new snippet into your site header
6967

0 commit comments

Comments
 (0)