spaces matter

This commit is contained in:
Sam Saffron 2017-02-23 17:37:53 -05:00
parent f68540b022
commit ef08462b33
1 changed files with 5 additions and 5 deletions

View File

@ -96,7 +96,7 @@ server {
location ~* assets/.*\.(eot|ttf|woff|woff2|ico)$ {
expires 1y;
add_header Cache-Control public, immutable;
add_header Cache-Control public,immutable;
add_header Access-Control-Allow-Origin *;
}
@ -116,20 +116,20 @@ server {
# asset pipeline enables this
# brotli_static on;
gzip_static on;
add_header Cache-Control public, immutable;
add_header Cache-Control public,immutable;
# TODO I don't think this break is needed, it just breaks out of rewrite
break;
}
location ~ ^/plugins/ {
expires 1y;
add_header Cache-Control public, immutable;
add_header Cache-Control public,immutable;
}
# cache emojis
location ~ /_?emoji.*\.(png|gif|jpg|jpeg)$/ {
expires 1y;
add_header Cache-Control public, immutable;
add_header Cache-Control public,immutable;
}
location ~ ^/uploads/ {
@ -146,7 +146,7 @@ server {
proxy_set_header X-Sendfile-Type X-Accel-Redirect;
proxy_set_header X-Accel-Mapping $public/=/downloads/;
expires 1y;
add_header Cache-Control public, immutable;
add_header Cache-Control public,immutable;
## optional upload anti-hotlinking rules
#valid_referers none blocked mysite.com *.mysite.com;