Anonymous Access window doesn't work with custom context

When I change the root context for another context like “/nexus/” in the nexus.properties and the nexus-default.properties files, the Anonymous Access window of the Admin menu, doesn’t work correctly because it launch 2 requests to 2 rest api services without the correct context:

myserver:8081/service/rest/internal/ui/realms/types
myserver:8081/service/rest/internal/ui/anonymous-settings

When the correct request should be:
myserver:8081/nexus/service/rest/internal/ui/realms/types
myserver:8081/nexus/service/rest/internal/ui/anonymous-settings

I’ve tested that with the default root context it works fine, but I don’t know where and how to change the context to work fine.

The error window and the Console of requests, and the debug point I think it’s the problem, the xhr.js file make the request without the custom context property.

Thanks

This will be fixed in the next release of Nexus Repository Manager (3.22). In the meantime you can set nexus.react.frontend.enabled=false in your nexus.properties.