Custom url in config/server.js causing 405 error?

I have a brand new strapi project, and have added the ‘/strapi-v4’ as I would like to prefix all of strapi’s endpoints:

When attempting to create my first admin, I receive a 405 error at /strapi-v4/admin/register-admin.

This topic has been created from a Discord post (1227259910115561563) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

that should be absolute, not relative

also we strongly advise against sub-path proxying, best to use a subdomain

Hey Derrick, thanks for the reply! Is there any way this would work if using a subdomain isn’t an option?

It can be done but you will need a reverse proxy to do it and again we strongly advise against it.