1. server {
  2. listen 80;
  3. server_name b.com;
  4. location /{
  5. if ( $http_referer ~* (a.com|b.com|c.com) ) {
  6. Access-Control-Allow-Origin: *
  7. }
  8. }
  9. }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
  • 2021-09-18
  • 2021-06-07
  • 2021-07-24
  • 2022-12-23
猜你喜欢
  • 2021-07-26
  • 2021-05-23
  • 2021-06-02
  • 2022-12-23
相关资源
相似解决方案