This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Images and static content is treated different | |
location ~* \.(jpg|jpeg|gif|css|png|js|ico|xml|swf|eot|woff|ttf)$ { | |
access_log off; | |
expires 30d; | |
} | |
## Cache policy for webfonts | |
location ~* \.(eot|ttf|woff)$ { | |
add_header Access-Control-Allow-Origin *; | |
} | |
## Disable viewing hidden files |
NewerOlder