You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/02/19 06:24:40 UTC

[GitHub] [apisix-dashboard] Firstsawyou opened a new issue #1483: [discuss]: how to use apisix for proxy access to dashboard

Firstsawyou opened a new issue #1483:
URL: https://github.com/apache/apisix-dashboard/issues/1483


   ### Issue description
   
   Apisix and dashboard are separately deployed projects. If we want to proxy access to dashboard through apisix, what should we do?
   When I try to use the apisix proxy to access the dashboard, the dashboard log shows the following 401 status code:
   
   ```
   2021-02-18T19:36:32.230+0800    filter/ip_filter.go:87  /apisix/admin/tool/version_match        {"status": 401, "host": "127.0.0.1:9001", "query": "", "requestId": "9b35366a-3eaf-4de1-8837-afe4bcd2f1fa", "latency": 0, "remoteIP": "125.120.16.47", "method": "GET", "errs": []}
   2021-02-18T19:36:34.074+0800    filter/ip_filter.go:87  /apisix/admin/tool/version_match        {"status": 401, "host": "127.0.0.1:9001", "query": "", "requestId": "cbbe013b-ff97-4bee-9bdd-7d04cb725dfe", "latency": 0, "remoteIP": "125.120.16.47", "method": "GET", "errs": []}
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix-dashboard] tokers commented on issue #1483: [discuss]: how to use apisix for proxy access to dashboard

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #1483:
URL: https://github.com/apache/apisix-dashboard/issues/1483#issuecomment-782000142


   Some Routes, Upstreams need to configured to APISIX but bypass the APISIX Dashboard, e.g. invoking Admin APIs.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix-dashboard] spacewander commented on issue #1483: [discuss]: how to use apisix for proxy access to dashboard

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #1483:
URL: https://github.com/apache/apisix-dashboard/issues/1483#issuecomment-781859223


   The error message should be more clear.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix-dashboard] Firstsawyou commented on issue #1483: [discuss]: how to use apisix for proxy access to dashboard

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #1483:
URL: https://github.com/apache/apisix-dashboard/issues/1483#issuecomment-781976219


   > Here are two things in your issue:
   > 
   > 1. `version_match` throws 401;
   > 2. How to proxy request from apisix to dashboard.
   
   These log information has nothing to do with the title, I will update the content.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #1483: [discuss]: how to use apisix for proxy access to dashboard

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #1483:
URL: https://github.com/apache/apisix-dashboard/issues/1483#issuecomment-781881710


   Here are two things in your issue:
   
   1. `version_match` throws 401;
   2. How to proxy request from apisix to dashboard.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan closed issue #1483: [discuss]: how to use apisix for proxy access to dashboard

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #1483:
URL: https://github.com/apache/apisix-dashboard/issues/1483


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix-dashboard] nic-chen commented on issue #1483: [discuss]: how to use apisix for proxy access to dashboard

Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #1483:
URL: https://github.com/apache/apisix-dashboard/issues/1483#issuecomment-782793397


   To use APISIX proxy Dashboard, you need to set `enable admin` to false (because the path of the Admin API and the path of the Manager API are the same, not setting it to false will request to apis of Admin API), and then follow the normal route configuration.


----------------------------------------------------------------
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:
users@infra.apache.org