Mr-Koala opened a new issue, #10885:
URL: https://github.com/apache/apisix/issues/10885
### Description
As a user, I have started multiple listening ports in APISIX, and I need to
apply the defined routing policies on specific ports. However, I couldn't find
any relevant documentation in the official documentation. The answer provided
by GPT is as follows, but it doesn't seem to work:
```
apisix:
node_listen:
- host: "0.0.0.0"
port: 8080
proto: http
routes:
- name: route1
methods: ["GET", "POST"]
uris: ["/api"]
hosts: ["example.com"]
upstream:
type: roundrobin
nodes:
- target: "http://127.0.0.1:8000"
attributes:
node_listen:
- port: 8080
```
--
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]