I would like to know how I can allow only certains domains to access my files, while redirect others with a 301, or angry man maybe .
Today I’m redirecting all users trying to access my /fonts of my “font server” (yannglt-type.netlify.com) folder with a 301, thanks to the netlify.toml file. But I need my main site (https://yannglt.com) to access the font files.
Do you have any idea ?
Rewrite Conditions seems to be a good one but I didn’t find anything in the docs that might help me…