You may want to read discutions here, about strapi url prefix.
Also here you can read original docs about server configuration.
Long story short, what you set there is the api url
, to set admin url use the admin
endpoint, like here:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
url: 'http://localhost:1337/zero',
admin: {
url: 'http://localhost:1337/dashboard', // <-- default is /admin
auth: {
secret: env('ADMIN_JWT_SECRET', 'fjksdfljsldjf'),
},
},
});