Skip to content

Commit 80ff7aa

Browse files
docs: Address code review feedback - update version references and platform-specific commands
Co-authored-by: fabriziosalmi <1569108+fabriziosalmi@users.noreply.github.com>
1 parent 1e6dd5d commit 80ff7aa

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

docs/add-package-guide.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ The backup will be saved as `caddy.backup` in the same directory.
9595
To install a specific version of the module:
9696

9797
```bash
98-
caddy add-package github.com/fabriziosalmi/caddy-waf@v0.1.3
98+
caddy add-package github.com/fabriziosalmi/caddy-waf@vX.Y.Z
9999
```
100100

101-
Note: Replace `v0.1.3` with the desired version tag.
101+
Replace `vX.Y.Z` with the desired version tag (e.g., `v0.1.3`). You can find available versions on the [GitHub releases page](https://github.com/fabriziosalmi/caddy-waf/releases).
102102

103103
## Troubleshooting
104104

@@ -110,14 +110,7 @@ If the `caddy add-package` command is not available, you may be using an older v
110110
caddy version
111111
```
112112

113-
You need Caddy v2.7 or higher. Update Caddy first:
114-
115-
```bash
116-
# Using the official install script
117-
curl https://caddyserver.com/api/download\?os=linux\&arch=amd64 -o caddy
118-
chmod +x caddy
119-
sudo mv caddy /usr/local/bin/
120-
```
113+
You need Caddy v2.7 or higher. To update Caddy, visit [caddyserver.com/download](https://caddyserver.com/download) and follow the instructions for your operating system and architecture.
121114

122115
### Permission Denied
123116

0 commit comments

Comments
 (0)