fix error in nginx; add flag images