Hacker News new | ask | show | jobs
by jshen 4411 days ago
You lost me. How does embedding the app server break URIs?
1 comments

in the embedded mode you have one application server per app, so you have one app at port 80, another at 81, etc... so you can't just have a nice URL pattern for your applications, becase each one will have different port number. Unless you set up additional reverse proxy...
you put nginx in front of it, which you should do anyways for most things.
Yep agreed, it's called reverse proxying, I do this with Tomcat as well.

http://en.wikipedia.org/wiki/Reverse_proxy