FL-1356: digest fix for nginx