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 14:58:23 UTC

[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

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