update apisix_conf
This commit is contained in:
1 parent
a0315401e8
commit
97530237c6
3 files changed
+65
-1
No files matched your search
@@ -102,6 +102,16 @@ cat > "$PAYLOAD_FILE" <<EOF
|
||||
"name": "${ROUTE_ID_JSON}",
|
||||
"plugins": {
|
||||
"key-auth": {},
|
||||
"real-ip": {
|
||||
"source": "client_real_ip",
|
||||
"trusted_addresses": [
|
||||
"127.0.0.1",
|
||||
"10.0.0.0/8",
|
||||
"172.16.0.0/12",
|
||||
"192.168.0.0/16"
|
||||
],
|
||||
"recursive": true
|
||||
},
|
||||
"proxy-rewrite": {
|
||||
"regex_uri": [
|
||||
"${REWRITE_REGEX_JSON}",
|
||||
|
||||
Reference in new issue
Block a user