fixed nginx rules