They don't really want proof of residency, rather proof of the legal right of residence, and if you look at the embassy requirement it is not supposed to apply to non-nationals. However, it is normally suggested to upload your passport photo page (again) for this purpose.
For the embassy;
Confirmation of legal residence in the UK or Ireland (if applicants are not nationals of these countries) e.g. long stay visa, residence permit, BRP card