Set cache expiration for nginx