Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is where Nginx comes into the picture. Since Nginx is a 'general purpose' web server (pretty much like the Apache http server), it is a much better option when our server (in this case server refers to the physical machine called Javelin) is running multiple applications written in different languages. What is most commonly done is that a general purpose web server like Nginx is used as a 'proxy' to a more specific web server. For example, in

In this case though we will configure Nginx to act as a proxy for Jetty. So whenever the external world requests Nginx to serve up the Fedora application, it proxies, or passes on that request to Jetty. Jetty, in return, serves the results to Nginx, and it is Nginx that 'relays' that response back to the external worldJetty to run on a forwarded port, i.e. a port which is allowed to receive incoming connections. This enables external HTTP requests to be served directly by Jetty, rather than having to come through Nginx.

Configuring and Running Fedora

...

As of June 17, 2016, a temporary, out-of-the-box installation of Fedora 4.5.1 is accessible at http://javelin.ischool.utexas.edu:8080/fedora

For reasons of simplicity, we have configured Jetty to listen on its default port 8080.

Important OS paths

For the above-mentioned temporary installation, the following are the most important paths.

...