No, the admin path has its own url property inside the admin object.
./config/server.js:
module.exports = ({ env }) => ({
//...
url: 'https://myPublicUrl.com', // your public URL, will be used for Auth providers/Email templates that contain the URL template string.
admin: {
url: '/dashboard' // defines the path for admin panel, in this case will be accessible at https://myPublicUrl.com/dashboard
}
//...
});
All modifications made to the url and admin.url properties require admin rebuild.