I have my Alfresco server set up on CentOS 6 (mysql) using an Nginx front end as a reverse proxy for SSL. What I would like to do is have my users be able to get to the site buy going directly to a short URL (eg http://docs.mycompany.com) rather than having to specify the /share webapp. I assume I would have to do this kind of redirection within Tomcat itself. I've done a bit of research, but haven't been able to find a solution which works thus far. Any help would be appreciated.
I have to admit, I do not know what Nginx is by itself or is capable of doing. In most use cases, Apache httpd is used as the front-facing proxy and is able to do this kind of redirection using URL rewriting (mod_rewrite module). A quick look on Google found this, which seems to be the Nginx equivalent: http://wiki.nginx.org/HttpRewriteModule
Tomcat should almost never be used to do redirection / indirection handling. Front facing web servers are able to handle it way more efficiently and should do the utmost to offload computational load from the application server.