I have a cakephp app running on an NGINX front-end server (PHP-FPM back-end), and I have a requirement to implement a vanity URL for each one of our customers. For example, Mary's vanity url would be [url removed, login to view] and Ted's would be ted.ourwebsite.com.
I need help determining how to set this up. If we can do it without getting into the cakephp controllers that would be best. However, I am open to whatever solution works best.