This commit is contained in:
Nicolas Bally 2013-07-17 14:51:13 +02:00
parent cb2abbd597
commit 6adca38f69

View File

@ -18,6 +18,24 @@ server {
error_page 500 502 503 504 /500.html;
client_max_body_size 4G;
keepalive_timeout 10;
location ~ ^/(assets)/ {
root /home/web/danielle_app/current/public;
gzip_static on;
expires max;
add_header Cache-Control public;
# access_log /dev/null;
}
location ~ ^/(public_medias)/ {
root /home/web/danielle_app/current/public;
gzip_static on;
expires max;
add_header Cache-Control public;
# access_log /dev/null;
}
}