fixed nginx media path and set autonginx to true