Nitric acid is made by mixing nitrogen dioxide (NO2) with water in the presence of oxygen or air to oxidize the nitrous acid also produced by the reaction. Dilute nitric acid may be concentrated by distillation up to 68% acid, which is an azeotropic mixture with 32% water. Further concentration involves distillation with sulfuric acid which acts as a dehydrating agent.
There's no method to produce nitric acid from ammonia and oxygen.