I am hoping to get some guidance on sending Access-Control-Allow-Origin for multiple domains. The answer I have temporarily settled on is this: location /somelocation/ { try_files $uri $uri/ @rewrite; expires 1h; if ($http_origin ~ "^(https://www.cors.domain1.com|https://www.cors.domain2.com)") { add_header 'Access-Control-Allow-Origin' $http_origin; }by tylergoza - How to...
![]() |
![]() |
![]() |
![]() |
|