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 2019/11/20 06:32:38 UTC

[GitHub] [incubator-apisix] totemofwolf opened a new issue #882: bug: dashboard cannot be access via /apisix/dashboard behind LB

totemofwolf opened a new issue #882: bug: dashboard cannot be access via /apisix/dashboard behind LB
URL: https://github.com/apache/incubator-apisix/issues/882
 
 
   ### Issue description
   dashboard 不以 '/'结尾的会跳转错误,以'/'结尾的访问正常
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   bash-4.4# apisix version
   0.9-rc1 (current master)
   
   * OS:
   alpine 3.7
   
   ### Minimal test code / Steps to reproduce the issue
   
   nsa.works 解析指向负载均衡器的IP,负载均衡器监听TCP 80,后端服务器端口 9080
   
   ![11574219812_ pic](https://user-images.githubusercontent.com/1818214/69214650-755f2a80-0ba2-11ea-8c7e-fb43aaa60e63.jpg)
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   请求如下:
   
   ```
   ➜  src curl -I 'http://nsa.works/apisix/dashboard'
   HTTP/1.1 301 Moved Permanently
   Date: Wed, 20 Nov 2019 03:04:22 GMT
   Content-Type: text/html
   Content-Length: 239
   Location: http://nsa.works:9080/apisix/dashboard/
   Connection: keep-alive
   Server: APISIX web server
   
   ➜  src curl -I 'http://nsa.works/apisix/dashboard/'
   HTTP/1.1 200 OK
   Date: Wed, 20 Nov 2019 03:04:50 GMT
   Content-Type: text/html
   Content-Length: 2975
   Last-Modified: Mon, 18 Nov 2019 15:17:00 GMT
   Connection: keep-alive
   ETag: "5dd2b5ec-b9f"
   Server: APISIX web server
   Accept-Ranges: bytes
   
   ```
   

----------------------------------------------------------------
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


With regards,
Apache Git Services