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 2021/11/18 05:59:15 UTC

[GitHub] [apisix-dashboard] junmaqiang opened a new issue #2217: request help: 请教如何在dashbrod设置没有路由绑定的请求全部统一处理

junmaqiang opened a new issue #2217:
URL: https://github.com/apache/apisix-dashboard/issues/2217


   ### Issue description
   
   官方文档中没有看到类似设置,请教下
   
   ### Environment
   
   - apisix version (cmd: `apisix version`): 2.9
   - OS (cmd: `uname -a`):Mac
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 3.5
   - apisix-dashboard version, if have: 2.9
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
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-dashboard] github-actions[bot] commented on issue #2217: request help: Ask how to configure the undefined domain name to point to a service

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2217:
URL: https://github.com/apache/apisix-dashboard/issues/2217#issuecomment-997362732


   This issue has been marked as stale due to 30 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-dashboard] juzhiyuan edited a comment on issue #2217: request help: Ask how to configure the undefined domain name to point to a service

Posted by GitBox <gi...@apache.org>.
juzhiyuan edited a comment on issue #2217:
URL: https://github.com/apache/apisix-dashboard/issues/2217#issuecomment-972942705


   ```nginx
   server {
       listen       80 default_server;
       listen       [::]:80 default_server;
       server_name  _; 
       server_name  "";
       return       444;
   }
   ```
   
   For `listen 80`, you need to update APISIX's configuration, see https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L25
   
   For `server_name _`, I'm not sure if you mean `all requests which are not targeted to a specified Routes would return 444`? I need to ask help from @bzp2010.
   
   BTW, please update your PR's description to English, you could use translations tools 😄


-- 
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-dashboard] bzp2010 commented on issue #2217: request help: Ask how to configure the undefined domain name to point to a service

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2217:
URL: https://github.com/apache/apisix-dashboard/issues/2217#issuecomment-997393459


   If you want to set up a route for handling unmatched requests, set up a low-priority route that does not contain request information matches, for which you can perform custom actions using the plugin.


-- 
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-dashboard] bzp2010 edited a comment on issue #2217: request help: Ask how to configure the undefined domain name to point to a service

Posted by GitBox <gi...@apache.org>.
bzp2010 edited a comment on issue #2217:
URL: https://github.com/apache/apisix-dashboard/issues/2217#issuecomment-997393459


   Hi, @justinmclean.
   If you want to set up a route for handling unmatched requests, set up a low-priority route that does not contain request information matches, for which you can perform custom actions using the plugin.


-- 
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-dashboard] bzp2010 commented on issue #2217: request help: Ask how to configure the undefined domain name to point to a service

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2217:
URL: https://github.com/apache/apisix-dashboard/issues/2217#issuecomment-997393560


   I will close this issue temporarily, but you can always open it again if you need to.


-- 
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-dashboard] juzhiyuan commented on issue #2217: request help: Ask how to configure the undefined domain name to point to a service

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #2217:
URL: https://github.com/apache/apisix-dashboard/issues/2217#issuecomment-972942705


   ```nginx
   server {
       listen       80 default_server;
       listen       [::]:80 default_server;
       server_name  _; 
       server_name  "";
       return       444;
   }
   ```
   
   For `listen 80`, you need to update APISIX's configuration, see https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L25
   
   For `server_name _`, I'm not sure if you mean `all requests which are not targeted to a specified Routes would return 444`? I need to ask help from @bzp2010.


-- 
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-dashboard] bzp2010 closed issue #2217: request help: Ask how to configure the undefined domain name to point to a service

Posted by GitBox <gi...@apache.org>.
bzp2010 closed issue #2217:
URL: https://github.com/apache/apisix-dashboard/issues/2217


   


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