kb: technical
Plesk Onyx for Linux
ABT: Group A
Applicable to:
- Plesk Onyx for Linux
Symptoms
- Some of icons, fonts or images failed to load on website
example.com
. - External domain
example2.com
is the source of those objects - The following errors could be found under Console tab while inspecting loading of website page using developer tools like Firebug (press F12 key in Firefox or Chrome):
CONFIG_TEXT: Access to Font at 'https://example2.com/fonts/glyphicons-halflings-regular.woff2' from origin 'https://example2.com' has been blocked by CORS policy: No 'Access-Control -Allow-Origin 'header is present on the requested resource. Origin 'https://example2.com' is therefore not allowed access.
Cause
CORS (cross-origin resource sharing) is not configured on the external source domain
example2.com
Resolution
Configure cross-origin resource sharing (CORS) on external source domain with help of the article How to set up CORS (cross-origin resource sharing) in Plesk?
Additional Information
Is it possible to enable CORS (cross-origin resource sharing) on Plesk for Windows?
Comments
0 comments
Please sign in to leave a comment.