-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add woff2 extention to directly served static files #255
Conversation
Add woff2 extention to directly served static files
Add woff2 extention to directly served static files
Add woff2 extention to directly served static files
Add woff2 extention to directly served static files
I met this issue with Glyphicon icon font, which is included in some versions of Bootstrap framework by default. |
@kkomelin I had issues with Font Awesome and Google icons too. |
So I vote for this PR |
Thanks! |
@perusio Could you please take a look at this PR when you have time. Thanks. |
@iryston What about woff2 in mime.types? It's only woff there. |
Good point @PavelPrischepa |
@PavelPrischepa thank you for PR! I want to pay attention that according to w3c recommendation WOFF 2.0 is an improvement on WOFF 1.0. The two formats have different Internet Media Types and may be used in parallel.
|
@perusio thanks for your commit. |
…o D7 * 'D7' of https://github.com/perusio/drupal-with-nginx: * Added woff2 support from PR perusio#255 by @iryston. Added an appropriate mime type for .woff2 * Fix perusio#251 with PR from @kkomelin. * Include PR#11 from @kkomelin about CGI var vuln. Allowed "Well-Known URIs". Cache valid responses for 15s. disable access_log in php_fpm_status_vhost * Disabled SSL v3. * Enable OCSP stapling verification. Update fastcgi_cache_key Issue perusio#212 by colans: Move header-adding to nginx.conf to avoid losing headers. Disabled SSLv3 to fix POODLE vulnerability.
This commit fixes fonts loading problems in certain configurations.