nginx sample config: also add A-C-A-O header to font files in uploads or plugins path

This commit is contained in:
Michael Brown 2018-01-18 16:41:16 -05:00
parent 4f946319b4
commit bec3f124dd
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ server {
# auth_basic on;
# auth_basic_user_file /etc/nginx/htpasswd;
location ~* assets/.*\.(eot|ttf|woff|woff2|ico)$ {
location ~* (assets|plugins|uploads)/.*\.(eot|ttf|woff|woff2|ico)$ {
expires 1y;
add_header Cache-Control public,immutable;
add_header Access-Control-Allow-Origin *;