Skip to content

Commit b9d0dc2

Browse files
committed
update comments
1 parent 20aa504 commit b9d0dc2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

website/blog/2022/01/26/apisix-integrate-forward-auth-plugin.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Furward-auth, Another Choice for Authentication Function"
2+
title: "Forward-auth, Another Choice for Authentication Function"
33
authors:
44
- name: "Zeping Bai"
55
title: "Author"
@@ -43,7 +43,7 @@ Suppose there is an authentication service to which the user sends a request wit
4343

4444
### Step 2: Create a route and enable the `forward-auth` plugin
4545

46-
Next, we will configure a route and enable the `forward-auth` plug-in to interface the above authentication service with the upstream application.
46+
Next, we will configure a route and enable the `forward-auth` plugin to interface the above authentication service with the upstream application.
4747

4848
```shell
4949
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
@@ -91,9 +91,9 @@ Location: https://example.com/auth
9191

9292
### Addendum: Disable the plugin
9393

94-
If you have finished using the Forward Auth plug-in, simply remove the `forward-auth` plug-in configuration from the route configuration and save it to turn off the Forward Auth plug-in on the route.
94+
If you have finished using the Forward Auth plugin, simply remove the `forward-auth` plugin configuration from the route configuration and save it to turn off the Forward Auth plugin on the route.
9595

96-
Thanks to the dynamic nature of Apache APISIX, there is no need to restart Apache APISIX to turn the plug-in on and off.
96+
Thanks to the dynamic nature of Apache APISIX, there is no need to restart Apache APISIX to turn the plugin on and off.
9797

9898
## Summary
9999

website/i18n/zh/docusaurus-plugin-content-blog/2022/01/26/apisix-integrate-forward-auth-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Forward Auth 能巧妙地将认证与授权逻辑转移至专门的外部服务
2828

2929
![插件原理图](https://static.apiseven.com/202108/1643096414141-ccbc33c0-7899-445a-a2f8-b6d5341c44df.jpg)
3030

31-
关于 forward-auth 插件在 Apache APISIX 中的运行原理与流程如上图所示,具体总结为以下几步:
31+
关于 `forward-auth` 插件在 Apache APISIX 中的运行原理与流程如上图所示,具体总结为以下几步:
3232

3333
- 第一步:由客户端向 APISIX 发起请求
3434
- 第二步:由 APISIX 向用户配置的认证服务发起请求

0 commit comments

Comments
 (0)