Well who is to know the size of the warhead. Given that we must take some liberties with the show and suspend disbelief for 42mins then one could easily summerize a few things that could make sense.
Armor Plating.
We have seen Galactica take many hits from many different weapon types and hold up pretty well. The armor the ship must have would be have to be extrodinary to take the stresses of the jump to FTL so it's not too much of s stretch to think that it could withstand a nuke. We do see craters all over the ship from hits, so there is damage.
Space itself.
The how and why's of the behaviour of a nuke blast in a vacum aside (i'm sure someone will post something thoughtful on it) it's reasonable to assume that the blast is nothing like what we expect on Earth.
The Warhead.
Perhaps the term "nukes" hold a slightly different meaning in BSG. It is of course meant to be very similar if not the same as what we know, but it's up to us the audience to decide for ourselves the exact meanings of such things.Maybe the warheads are just not that powerful.
The size of the ship.
It may have suffered damage but the size of the ship relative to the damage taken may make it look like there was little effect. Galactica is meant to be around 1400m long and over 500m wide so when looked at in scale a small warhead may not do so much visable damage from a near miss.
For whatever reason some structures hold up well to nuke blasts. After WWII the German Heavy Cruiser Prinz Eugen was awarded to the US Navy and was subjected to two nuke tests. It survived both. It did spring some leaks after the second test but was deemed to eradiated to allow workers to safely complete repairs.
If a WWII warship can survive two blasts (though not direct) and not be a hulk of melting steel, then i'm happy to just believe that Galactica has stong enough armor to withstand direct nuke hits.