97 ms·
this is also a standard approach for nginx: location / { if ($http_origin ~ "^https?://(www\.)?doma.in$") { add_http_header Access-Control-Al
by Natfan 9mo ago
this is also a standard approach for nginx:
location / {
if ($http_origin ~ "^https?://(www\.)?doma.in$") {
add_http_header Access-Control-Allow-Origin "$http_origin";
}
}