The server use case for Mac Mini is a huge compromise. Sonnet Tech [1] makes a 1U rack enclosure with a PCIe riser connected internally to the Mini's Thunderbolt port.
Internally we had one used for our company's OSX Server running profile manager before going to Jamf Pro.