# Cockpit installation - assets folder set to root URL?

**URL:** <https://discourse.getcockpit.com/t/cockpit-installation-assets-folder-set-to-root-url/826>\
**Category:** Uncategorized\
**Created:** [May 14, 2019, 11:49am UTC](https://discourse.getcockpit.com/t/cockpit-installation-assets-folder-set-to-root-url/826 "2019-05-14T11:49:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Galanthus](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@Galanthus](https://discourse.getcockpit.com/u/Galanthus)\
**Post date:** [May 14, 2019, 11:49am UTC](https://discourse.getcockpit.com/t/cockpit-installation-assets-folder-set-to-root-url/826/1 "2019-05-14T11:49:57Z")

</div>

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.
