juzhiyuan commented on a change in pull request #3828: URL: https://github.com/apache/apisix/pull/3828#discussion_r594428198
########## File path: docs/en/latest/FAQ.md ########## @@ -371,3 +371,36 @@ You may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSS Example: luarocks install luasec OPENSSL_DIR=/usr/local make: *** [deps] Error 1 ``` + +## How to access APISIX Dashboard through APISIX proxy + +1. Keep the APISIX proxy port and Admin API port different(or disable Admin API). For example, do the following configuration in `conf/config.yaml`. + +The Admin API use a separate port 9180: + +```yaml +apisix: + port_admin: 9180 # use a separate port +``` + +2. Add proxy route of APISIX Dashboard: + +Note: The APISIX Dashboard service here is listening on `127.0.0.1:9000`. + +```shell +curl -i http://127.0.0.1:9180/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' +{ + "uris":[ "/*" ], Review comment: Does this mean all uris will match this route? will this affect other routes? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
