fixed nginx upload_template problem