Disclosed is a method of treating vaginosis with a composition having Steroidobacter denitrificans YH1 (KCTC18345P) and Lactobacillus crispatus YH2 (KCTC18346P) strains, wherein the composition further includes at least one buffer selected from the group consisting of sodium phosphate monobasic, sodium phosphate dibasic, sodium phosphate tribasic, citric acid, sodium citrate, phosphoric acid, hydrochloric acid, sodium hydroxide, sodium pyrophosphate, and pyrophosphate.