chaitin / SafeLine

serve as a reverse proxy to protect your web services from attacks and exploits.
https://waf.chaitin.com
GNU General Public License v3.0
13.29k stars 817 forks source link

[Suggestion] 请问可以支持CORS设置吗? #1061

Closed willow-god closed 2 months ago

willow-god commented 2 months ago

What would you like to be added or improved?

您好,尊敬的开发者,请问可以支持CORS设置吗?

Why is it needed?

由于需要接入到雷池,我并没有设置宝塔面板自带的nginx,所以也没有设置CORS,近期发现一个项目需要CORS保证安全,但是由于项目本身的局限性,只能设置一个地址,请问可以添加一个CORS的设置吗?我想用雷池NGINX的CORS接管项目自带的防跨域设置来达到多个防跨域安全地址的目的,如果还有防盗链设置就更好啦!

safe1ine commented 2 months ago

中文版的需求可以直接提在 https://rivers.chaitin.cn/discussion

safe1ine commented 2 months ago

release 6.9.0 support set http header with safeline