title: Nexus webapp, how to use / instead of /nexus for base URI
body: <p>I'm attempting to build a new Nexus server using 2.6.3 on Ubuntu 12.04 with OpenJDK 7.</p>
  
  <p>I have an empty repository running on port 8081, with nginx in front of it answering on port 80.</p>
  
  <p>But the app doesn't answer at <a href="http://nexus.example.net/" rel="noreferrer">http://nexus.example.net/</a>, only at <a href="http://nexus.example.net/nexus/" rel="noreferrer">http://nexus.example.net/nexus/</a>. The root / sends back a 404.</p>
  
  <p>I thought maybe the nexus-webapp and nexus-webapp-context-path properties in nexus.properties would fix that, but when I change that it gives me a generic directory listing of the sonatype-work/nexus directory.</p>