update
Browse files- app.lua +5 -0
- app/v1/app.lua +1 -0
- 方案.md +1 -1
app.lua
CHANGED
|
@@ -1,4 +1,9 @@
|
|
| 1 |
local uri = ngx.var.uri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
ngx.req.read_body()
|
| 3 |
local headers = ngx.req.get_headers()
|
| 4 |
local body = ngx.req.get_body_data()
|
|
|
|
| 1 |
local uri = ngx.var.uri
|
| 2 |
+
ngx.say("uri: ", uri)
|
| 3 |
+
ngx.say('\n\n\n')
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
ngx.req.read_body()
|
| 8 |
local headers = ngx.req.get_headers()
|
| 9 |
local body = ngx.req.get_body_data()
|
app/v1/app.lua
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
ngx.say("version: v1")
|
方案.md
CHANGED
|
@@ -2,4 +2,4 @@
|
|
| 2 |
分段:/{version}/{pxoxy_pass_url_indicator}
|
| 3 |
说明:version —— 版本,不可省略; pxoxy_pass_url_indicator —— 代理跳过url标识,不可省略
|
| 4 |
|
| 5 |
-
|
|
|
|
| 2 |
分段:/{version}/{pxoxy_pass_url_indicator}
|
| 3 |
说明:version —— 版本,不可省略; pxoxy_pass_url_indicator —— 代理跳过url标识,不可省略
|
| 4 |
|
| 5 |
+
#
|