Skip to content

Commit

Permalink
README: Align ACL examples content. (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
thylong committed Sep 7, 2021
1 parent 70b91d1 commit a14f157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ data:
```

Environment variables can be used from the template. `{{ .Env.ENVVAR }}` is replaced with the
environment variable value. This can be used to set for example the Host-header for the external
environment variable value. This can be used to set for example the Host-header for the external
service.

### Create a Secret
Expand Down Expand Up @@ -316,7 +316,7 @@ sub vcl_recv {
# Purge logic
if (req.method == "PURGE") {
if (client.ip !~ privileged) {
if (client.ip !~ purgers) {
return (synth(403, "Not allowed."));
}
if (req.http.X-Host) {
Expand All @@ -327,7 +327,7 @@ sub vcl_recv {
# Ban logic
if (req.method == "BAN") {
if (client.ip !~ privileged) {
if (client.ip !~ purgers) {
return (synth(403, "Not allowed."));
}
if (req.http.Cache-Tags) {
Expand Down Expand Up @@ -418,7 +418,7 @@ spec:
type: ClusterIP
```

An ingress points to the kube-httpcache service which cached
An ingress points to the kube-httpcache service which cached
your backend service:

```
Expand Down

0 comments on commit a14f157

Please sign in to comment.