Depends on the environment you are playing in. The best will always be a well placed SDC mic but the best sound is usually around 3' distant. Inevitable this compromises the amount of level you can achieve before feedback rears it's ugly head. Fine for a quiet/listening audience but useless in a noisy pub or rock band (admittedly not the classical guitar's natural habitat). If you need a lot of level then you are definitely going to have to compromise WRT to the sound quality. Getting a mic closer and using a tighter polar pattern, e.g. the aforementioned DPA 4099 will increase gain before feedback and get you louder but all acoustic guitars radiate sound from the whole of the instrument. To get the true sound of the instrument the listener/mic needs to hear all of the instrument, a close mic will only pick up sound from a part of the instrument and will sound less natural (the DPA is the best I've heard mind you and is very good indeed).
The next step is to go for a contact transducer of some type, SBT or UST, better GBF but they pick up an even smaller part of the instrument. I haven't tried it with a classical guitar yet but I have just bought a Tone Dexter https://www.soundsgreatmusic.com/products/audio-sprockets-tonedexter
and it is remarkable on my Selmer style gypsy jazz guitar https://www.dropbox.com/s/mfuyoxbevrghisw/Tone%20Dexter%20Preamp%20Test%202.mp3?dl=0
the stereo file linked has two tracks of miked guitar on one side and two tracks of the same 'performance' using the built in 'BigTone' passive pickup recorded via the Tone Dexter. This was a 'quick and dirty' demo but with some tweaking of the mic position when 'training' the TD preamp I think I can get it even better. I plan to try some classical guitar stuff with a mate after I have got my own acoustic guitars sorted.