Compare commits
2 Commits
15225f6560
...
48e0d762ec
| Author | SHA1 | Date | |
|---|---|---|---|
| 48e0d762ec | |||
| 2e5153d37f |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.swp
|
||||||
29
varnish/cli.md
Normal file
29
varnish/cli.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
### Get Backend list and their status
|
||||||
|
|
||||||
|
```bash
|
||||||
|
varnishadm backend.list
|
||||||
|
```
|
||||||
|
|
||||||
|
### Get value of a config parameter
|
||||||
|
|
||||||
|
```bash
|
||||||
|
varnishadm param.show http_resp_hdr_len
|
||||||
|
```
|
||||||
|
|
||||||
|
### Set value of a config parameter
|
||||||
|
|
||||||
|
```bash
|
||||||
|
varnishadm param.set http_resp_hdr_len 16384
|
||||||
|
```
|
||||||
|
|
||||||
|
### Ban URL
|
||||||
|
|
||||||
|
```bash
|
||||||
|
varnishadm ban req.http.host == example.com '&&' req.url '~' '/test/'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Get request detail filtered by ReqURL
|
||||||
|
|
||||||
|
```bash
|
||||||
|
varnishlog -q 'ReqURL eq "/test/"' -g request
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user