diff --git a/site/content/en/latest/tasks/security/basic-auth.md b/site/content/en/latest/tasks/security/basic-auth.md index 04559a8d2bc..956963b6da5 100644 --- a/site/content/en/latest/tasks/security/basic-auth.md +++ b/site/content/en/latest/tasks/security/basic-auth.md @@ -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.