Try pre-set campaigns and get your first conversions within 15 minutes.
Mailocator / Problem solving 2025-02-17 18:56:06

Images and styles are blocked

If your server is blocking CSS and images from loading, you will need to modify your web server configuration according to the Content Security Policy (CSP). CSP is a security feature that helps prevent a number of attacks such as Cross-Site Scripting (XSS) and data embedding attacks.

We list the CSP directives that you can use to enable CSS and image loading from servers (CDNs) used by Mailocator.

style-src: This directive controls where style templates can be loaded from.

img-src: This directive controls where images can be loaded from.

The HTTP header should contain:

Content-Security-Policy: style-src 'self' ml-cdn.net mlcdn.eu; img-src 'self' ml-cdn.net mlcdn.eu; 

For example, if you are using an Apache server, you can add the following lines to the .htaccess file or the server configuration:

Settings for Apache

Header set Content-Security-Policy "style-src 'self' ml-cdn.net mlcdn.eu img-src 'self' ml-cdn.net mlcdn.eu;"

Settings for nginx

add_header Content-Security-Policy "style-src 'self' ml-cdn.net mlcdn.eu; img-src 'self' ml-cdn.net mlcdn.eu;";