Add cache control public to public/assets
This commit is contained in:
parent
a688e47934
commit
7d4d08c59f
1 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,10 @@ http {
|
|||
ssl_certificate <%= @cert_location %>;
|
||||
ssl_certificate_key <%= @key_location %>;
|
||||
|
||||
location /assets {
|
||||
expires 1d;
|
||||
add_header Cache-Control public
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue