Cockpit installation - assets folder set to root URL?

Hi,

How can i change the cockpit absolute path URL because currently when i try to login i get.

Uncaught SyntaxError: Unexpected token <

URL is set by default to root but i’m inside a directory /cockpit.

Using NGINX.

tnx.