I would recommend you to not run Jetty on port 80, but to install Apache
HTTPD as a reverse proxy:
https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension

You can ignore the part on load-balancing. Your proxy rules should look
like:
ProxyPass / http://localhost:8080/xmlui/
ProxyPassReverse / http://localhost:8080/xmlui/

The advantage of using HTTPD is that you can easily add support for HTTPS,
or block access to certain webapps (e.g. SOLR):
ProxyPass /solr !

If you want to support Shibboleth, you also need HTTPD.

Best regards,
Tom


[image: logo] Tom Desair
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com
<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=tomdesair>

2016-12-22 22:31 GMT+01:00 David Brian Holt <holt9...@gmail.com>:

> OK, I'm finished with one Dspace project and now working on another.  I
> have Dspace 6 successfully running on Ubuntu 16.04 on Amazon's AWS:
>
> http://35.166.163.205:8080/xmlui/
>
> I previously had an Omeka-based site here but thought that Dspace is more
> suited for what I needed to get done.  The last thing I need to do is to
> setup the DNS records accurately.  I've looking through the documentation
> for Jetty9 and it's a little confusing on how to run Jetty on port 80.  I
> know I can uncomment the line in /etc/default/jetty9 to authbind (needed to
> run on ports lower than 1023):
>
> # If you run Jetty on port numbers that are all higher than 1023, then you
> # do not need authbind. It is used for binding Jetty to lower port numbers.
> # (yes/no, default: no)
> AUTHBIND=yes
>
> And change the port setting in /etc/jetty9/start.ini:
>
> # HTTP port to listen on
> # Enable authbind in /etc/default/jetty9 to use a port lower than 1024
> jetty.port=80
>
> But that doesn't work alone, I think because I'm running Jetty as a
> non-root user (i.e., Dspace).
>
> So I really want to accomplish two things (to get my DNS records to work):
>
> 1.  Run Jetty under TCP 80.
>
> 2.  Change the root directory to point to /xmlui.
>
> I found this section in the Jetty9 documentation but I don't know which
> option to use: http://www.eclipse.org/jetty/documentation/current/
> setting-port80-access.html
>
> Any advice/ideas?
>
> David
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to