Pro mini to nano fast pwm

Hi guys

Iv just moved my project over from a pro mini to a nano.

I need to make sure i put my outputs on the correct fast pwm pins and set theses up correctly.

I cant seem to get my head round what counter is for what pin on the nano.

They both use a mega328p processor.
On the pro mini i currently have the following counter setting

 TCCR1B = TCCR1B & 0b11111000 | 0x01;

This should give me fast pwm on pin 9 and 10

Assuming there the same processors would that code also give me fast pwm on nano on same pins?

Appreciate any help. Theses topics about timers are so confusing i think.