Skip to content

Commit

Permalink
fix basic auth doc (envoyproxy#3786)
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing authored Jul 8, 2024
1 parent bc62c63 commit af9fb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/en/latest/tasks/security/basic-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ echo $GATEWAY_HOST
Send a request to the backend service without `Authentication` header:

```shell
curl -v -H "Host: www.example.com" "http://${GATEWAY_HOST}/"
curl -kv -H "Host: www.example.com" "https://${GATEWAY_HOST}/"
```

You should see `401 Unauthorized` in the response, indicating that the request is not allowed without authentication.
Expand Down

0 comments on commit af9fb0c

Please sign in to comment.