No, I haven't. In fact, this is exactly how I should add the code there.
location ~ \.(ttf|ttc|otf|eot|woff|font.css|css|js|gif|png|jpe?g|svg|svgz|ico|webp)$ {
add_header Access-Control-Allow-Origin "*";
}
Is your code enough?
add_header 'Access-Control-Allow-Origin' '*';
I'm trying to add a directive on the Plesk panel for nginx, but unfortunately I can't find where to add it. I have a cors problem in fonts with CDN.
location ~ \.(ttf|ttc|otf|eot|woff|font.css|css|js|gif|png|jpe?g|svg|svgz|ico|webp)$ {
add_header Access-Control-Allow-Origin...
hi, i have a lot of domain in my panel. but i have a problem with mail host name.
main domain abc.com
customer domain def.com
def.com is use mail seeting like this mail posting. (php)
$mail->Host = "abc.com";
but if use own domain not working.
$mail->Host = "def.com";
every account mail is...
hi. i am using ubuntu 16.04. i iam install ffmpeg. everything is okay. but when i use my script i saw this message;
unable to load ffprobe. (not php extension standalone ffpmeg)
how can i solve this problem?