The same way nginx doesn't care about the choice of firewall because it doesn't automagically poke holes in the firewall.
May be a simple question: How are you able run nginx and open http:// localhost without it making any changes to the firewall. Can go on and on.