mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 05:15:43 +08:00
only do magic headers for local assets, don't muck with logster's stuff
This commit is contained in:
parent
f62d2bb03c
commit
abf269c5df
@ -84,7 +84,7 @@ server {
|
||||
root $public;
|
||||
add_header ETag "";
|
||||
|
||||
location ~* \.(eot|ttf|woff|woff2|ico)$ {
|
||||
location ~* assets/.*\.(eot|ttf|woff|woff2|ico)$ {
|
||||
expires 1y;
|
||||
add_header Cache-Control public;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
Loading…
x
Reference in New Issue
Block a user