Add cache control public to public/assets

This commit is contained in:
Raphael 2011-01-20 16:45:01 -08:00
parent a688e47934
commit 7d4d08c59f

View file

@ -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;