Welcome! Log In Create A New Profile

Advanced

Apache -> Nginx

Posted by Doyley 
Apache -> Nginx
December 06, 2017 09:18AM
Hi guys,

Is anybody able to translate the following into code compatible with nginx conf?

Thanks

<FilesMatch ".(otf|ttf|eot|woff)$">
SetEnvIf Origin "^http(s)?://(.+.)?(pardot.com|yourdomain.com)$" origin_is=$0
Header set Access-Control-Allow-Origin %{origin_is}e env=origin_is
</FilesMatch>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 107
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready