I have several url's that I would like to rewrite in NGINX for example:
From: app.example.com/calendar
To: calendar.example.com
Or
From: app.example.com/meetings
To: meetings.example.com
I would still like to keep the app.example.com
so it's not being removed from the redirect, but just create subdomains for certain URLs.
How can I do this in NGINX conf file? All the best.