How to setup versioning?

So, I just set the version as “v1” and i don’t know why it’s not working:

If I query the URL as http://<url>/v1/api-slug I get a nginx 404 not found
But if I query it as http://<url>/api-slug/v1 I see “Access to this API has been disallowed”

What am I doing wrong?