kayx23 commented on code in PR #11024: URL: https://github.com/apache/apisix/pull/11024#discussion_r1520574284
########## docs/en/latest/plugins/proxy-rewrite.md: ########## @@ -57,67 +57,65 @@ Header configurations are executed according to the following priorities: The example below enables the `proxy-rewrite` Plugin on a specific Route: ```shell -curl http://127.0.0.1:9180/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' -{ +curl "http://127.0.0.1:9180/apisix/admin/routes" -X PUT \ + -H "X-API-KEY: ${ADMIN_API_KEY}" \ Review Comment: I wrote the API7 docs and it's meant to be a user defined env var 😅 it doesn't need to be the default value and especially should not be in prod env -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
