Installation and Administration

How to Change Context Path

Updated: October 16, 2020

The Nuxeo Platform offers the capability to change the context path, i.e. /nuxeo in the URL of your application.

This configuration is done with two steps:

  1. Edit the configuration file nuxeo.conf to change the property org.nuxeo.ecm.contextPath.

    org.nuxeo.ecm.contextPath=/myapp
    
    # if you have configured nuxeo.url, update it as well
    nuxeo.url=http://localhost:8080/myapp
    
  2. Rename the file $NUXEO_HOME/templates/common-base/conf/Catalina/localhost/nuxeo.xml.nxftl into $NUXEO_HOME/templates/common-base/conf/Catalina/localhost/myapp.xml.nxftl.