mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 04:16:45 +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;
|
root $public;
|
||||||
add_header ETag "";
|
add_header ETag "";
|
||||||
|
|
||||||
location ~* \.(eot|ttf|woff|woff2|ico)$ {
|
location ~* assets/.*\.(eot|ttf|woff|woff2|ico)$ {
|
||||||
expires 1y;
|
expires 1y;
|
||||||
add_header Cache-Control public;
|
add_header Cache-Control public;
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user