- Server operating system version
- AlmaLinux 9.4
- Plesk version and microupdate number
- 18.0.60
Hi all,
I have a website (www.mydomain.com) and another website with data / images (data.mydomain.com) ont he same server under Plesk.
All works fine with Chrome and Edge but with Firefox, image don't displayed.
In the console, there is: A resource is blocked by OpaqueResponseBlocking, please check browser console for details.
I try to change headers like that but no effect.
Apache
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header set Access-Control-Allow-Headers "Content-Type"
Nginx
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Content-Type';
An idea?
Thank you
Erwan
I have a website (www.mydomain.com) and another website with data / images (data.mydomain.com) ont he same server under Plesk.
All works fine with Chrome and Edge but with Firefox, image don't displayed.
In the console, there is: A resource is blocked by OpaqueResponseBlocking, please check browser console for details.
I try to change headers like that but no effect.
Apache
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header set Access-Control-Allow-Headers "Content-Type"
Nginx
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Content-Type';
An idea?
Thank you
Erwan