Gary-Airwallex opened a new issue #6439:
URL: https://github.com/apache/apisix/issues/6439


   ### Issue description
   
   The `allow_origins_by_regex` option is used when no origin in 
`allow_origins` matches with request origin. What if I'd like to use 
allow_origins_by_regex only? Do I have to specify the string `null` for 
`allow_origins`? Would it be possible to make allow_origins optional (removing 
`default = "*"`)?
   
   ### Environment
   
   - apisix version (cmd: `apisix version`): master
   - OS (cmd: `uname -a`): 
   - 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):
   - apisix-dashboard version, if have:
   - 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to