mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396403642
Does this `Whitelabel Error Page` is your upstream response? If so, that
means your config is not right. If your upstream is "example.com" if you set
`/*` and access `/v1/dashes` APIS
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396404919
If you want to access `/food/v1/dashes` and return contents by path
`/v1/dashes`. You need to add a proxy-rewrite plugin.
https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite/
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396406154
This is a example of how to config `regex_uri` in proxy_rewrite `regex_uri
:["^/food/(.*)$", "/$1"]`
--
This is an automated message from the Apache Git Service.
To respond to the
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396507031
I see you are using the dashboard. You can set config in here
![image](https://user-images.githubusercontent.com/11229089/213373384-0531903f-0431-4cf2-98ff-7e7b6c9e9080.png)
-
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396561442
I think you can try inputting `^/food/(.*)$` to regexp. And input `/$1` to
the template.
--
This is an automated message from the Apache Git Service.
To respond to the message, plea
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396571630
Sorry, I can't view the image in GitHub. Can you post this image on GitHub
issue page?
--
This is an automated message from the Apache Git Service.
To respond to the message, please
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396573733
You should change Path `/*` to `/food/*`
--
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
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396587217
This is so weird. Can you can upstream the server to `httpbin.org` and
access `/food/get` the share what returns for me?
--
This is an automated message from the Apache Git Service.
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396600507
I think maybe this is not deployed APISIX right? This should happen. Do you
see any error log in APISiX
--
This is an automated message from the Apache Git Service.
To respond to th
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396620177
Okay, Look like this is a DNS error to query httpbin.org. But that's not
relevant to your previous question. I just want to know what path the upstream
server receives. Httpbin will h
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396628735
Look like APISIX still using `/food/v1/dishes` to access your upstream. Look
like this plugin does not config correctly.
--
This is an automated message from the Apache Git Service.
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1396640312
I don't know what happens too. Maybe you can try to change `^/food/(.*)$` to
`^/food/(.*)`.
--
This is an automated message from the Apache Git Service.
To respond to the message, p
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1397819303
Are you config the upstream address wrong? Dose 192.168.1.78:8090 is an
APISIX instance?
--
This is an automated message from the Apache Git Service.
To respond to the message, plea
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1397819842
This just your upstream time out. Please chekout
--
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
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1397820999
Please make sure your upstream is working.
--
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
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1398026429
I really don't know why this can't work for your local system.
This is my step.
First, create an upstream.
```json
{
"nodes": [
{
"host": "httpbin.org",
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1398028051
Perhaps you have other routes that conflict with this route? If you
configure a /* route, it is possible that the route will override the match of
the /food/* route. Please checkout
mscb402 commented on issue #8709:
URL: https://github.com/apache/apisix/issues/8709#issuecomment-1407264945
@spacewander Do you have any idea what is happening? I'm confused too
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub
18 matches
Mail list logo