You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Mr-Koala (via GitHub)" <gi...@apache.org> on 2024/01/30 08:49:06 UTC

[I] I need to listen multiple ports and apply routing policies on specific port [apisix]

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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I need to listen multiple ports and apply routing policies on specific port [apisix]

Posted by "zll600 (via GitHub)" <gi...@apache.org>.
zll600 commented on issue #10885:
URL: https://github.com/apache/apisix/issues/10885#issuecomment-1916975237

   @Mr-Koala this maybe helpful for your question https://github.com/apache/apisix/issues/10178


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I need to listen multiple ports and apply routing policies on specific port [apisix]

Posted by "sheharyaar (via GitHub)" <gi...@apache.org>.
sheharyaar commented on issue #10885:
URL: https://github.com/apache/apisix/issues/10885#issuecomment-1917085250

   @Mr-Koala If this is fixed, please close the issue.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I need to listen multiple ports and apply routing policies on specific port [apisix]

Posted by "sheharyaar (via GitHub)" <gi...@apache.org>.
sheharyaar commented on issue #10885:
URL: https://github.com/apache/apisix/issues/10885#issuecomment-1916784836

   How are you running multiple instances ?? 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I need to listen multiple ports and apply routing policies on specific port [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek closed issue #10885: I need to listen multiple ports and apply routing policies on specific port
URL: https://github.com/apache/apisix/issues/10885


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I need to listen multiple ports and apply routing policies on specific port [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10885:
URL: https://github.com/apache/apisix/issues/10885#issuecomment-2028089237

   consider it resolved


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org