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 2022/05/19 02:16:41 UTC

[GitHub] [apisix] ochinchina opened a new issue, #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number

ochinchina opened a new issue, #7077:
URL: https://github.com/apache/apisix/issues/7077

   ### Description
   
   In the TELCOM area, The gateway host will join multiple LANs. Diffrent LAN will have different IP segment. So the Gateway host will have multiple IPs.
   
   A NGINX Gateway needs to setup multiple http/tcp/udp servers. Each server will listen on its own IP and port number. Following is an example of a typical NGINX configuration in TELCOM area:
   
   ```NGINX
   http {
   ...
     server {
         listen  10.0.0.1:8090;
         ....
     }
   
     server {
        listen 192.168.0.10:80;
        ....
       location /hello {
           proxy_pass http://hello-service;
       }
   
       location /foo {
          proxy_pass http://foo-service;
       }
     }
     ...
   }
   ```
   
   Is it possible for APISIX to expose NGINX server concept to user? and provide some APIs to operate the NGINX server. All the route, service... APIs can include an optional server-id in its request body to indicate the request is on a specific NGINX server.
   
   And also is it possible to provide APIs to set NGINX parameter for the server and route...?
   


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


[GitHub] [apisix] github-actions[bot] commented on issue #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7077:
URL: https://github.com/apache/apisix/issues/7077#issuecomment-1534461124

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


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


[GitHub] [apisix] spacewander commented on issue #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number

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

   Maybe we can introduce an entry_id in the route. We can assign a unique entry_id to each IP&port, and only routes with the same entry_id will be used to match the traffic from an IP&port if an entry_id is assigned to it.


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


[GitHub] [apisix] github-actions[bot] commented on issue #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7077:
URL: https://github.com/apache/apisix/issues/7077#issuecomment-1554336483

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


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


[GitHub] [apisix] soulbird commented on issue #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number

Posted by GitBox <gi...@apache.org>.
soulbird commented on issue #7077:
URL: https://github.com/apache/apisix/issues/7077#issuecomment-1131163386

   You can add custom nginx configuration, refer here: https://github.com/apache/apisix/blob/master/docs/en/latest/customize-nginx-configuration.md


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


[GitHub] [apisix] spacewander commented on issue #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number

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

   APISIX already supports using different listening IP & port?
   https://github.com/apache/apisix/blob/260529a981e61ffa5db7c0750cfeb5a9b453c839/conf/config-default.yaml#L28
   
   Or do you mean using different routes according to the IP & port?


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


[GitHub] [apisix] ochinchina commented on issue #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number

Posted by GitBox <gi...@apache.org>.
ochinchina commented on issue #7077:
URL: https://github.com/apache/apisix/issues/7077#issuecomment-1131264327

   > 
   I'd like the dynamic listening IP & port adding to the NGINX with APISIX API instead of pre-configure it in the config.yaml file. The route and services and upstream operations should be made under a specific NGINX server.


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


[GitHub] [apisix] github-actions[bot] closed issue #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7077: As a user, I want to support multiple NGINX servers with different listening IP and port number
URL: https://github.com/apache/apisix/issues/7077


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