How Do I Configure NGINX as a Proxy to Jetty?

Goal

I want to set up a reverse proxy to serve HTTPS pages on NGINX and redirect them to Jetty using HTTP.

Learn

To enable this functionality on embedded Jetty 9, uncomment from in <datameer-install-path>/etc/jetty.xml from line 90

<!-- Uncomment to enable handling of X-Forwarded- style headers
<Call name="addCustomizer">
  <Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
</Call>
-->

For further information on configuring NGINX, see following articles: